Gasper Jansa
14a12729aa
small fix
2011-02-18 17:38:53 +01:00
Gasper Jansa
1494fd2637
some more handlers
2011-02-18 17:37:56 +01:00
Gasper Jansa
5af10bb7b6
BaseChannelRequester
2011-02-18 17:37:09 +01:00
Gasper Jansa
fa23f39967
removed one const
2011-02-18 17:36:25 +01:00
Gasper Jansa
50af37d7af
DestroyChannelHandler
2011-02-17 23:07:27 +01:00
Gasper Jansa
f5a888ae01
pvAccessID typedef used
2011-02-17 21:21:12 +01:00
Matej Sekoranja
f7742d3eb0
Status changes
2011-02-17 01:22:08 +01:00
Gasper Jansa
8c954e8c98
ServerChannelImpl
2011-02-11 16:14:37 +01:00
Matej Sekoranja
c87ff047ca
stability
2011-02-10 17:05:34 +01:00
Gasper Jansa
0c855c7326
some handlers added
2011-02-07 22:14:39 +01:00
Gasper Jansa
de8b632381
serverContext and beacon emitter impl
2011-02-04 16:22:28 +01:00
Matej Sekoranja
082b890948
merge
2011-02-01 00:38:59 +01:00
Matej Sekoranja
d0db4588ee
mm of TransportSender
2011-02-01 00:38:11 +01:00
Gasper Jansa
327efbcf80
server context implementation
2011-01-31 22:52:25 +01:00
miha_vitorovic
2565191fb7
Removed socket polling from transports.
2011-01-12 14:01:54 +01:00
Matej Sekoranja
21951b885d
create channel w/ minor error on verification send-back
2011-01-10 21:15:17 +01:00
miha_vitorovic
6db84be16e
- Connecting to invalid server (port) now generates an error.
...
- Removed usage 'ipAddrToA' from the code. Replaced with 'ipAddrToDottedIP'.
2011-01-10 15:51:35 +01:00
miha_vitorovic
df7a9fa073
Added configuration to Context and fixed all the users.
2011-01-10 14:09:58 +01:00
miha_vitorovic
8f0b4d8594
Using osiSockAddress parameter by reference wherever possible.
2011-01-07 14:42:00 +01:00
miha_vitorovic
3c03971939
Fixed core dumps. Transport client now finishes successfully.
2011-01-07 13:01:48 +01:00
miha_vitorovic
b868736759
Some formatting of the debug message.
2011-01-07 10:03:20 +01:00
miha_vitorovic
59b45653d1
blockingClientTCPTransport.cpp:
...
- changed magic numbers to enums
blockingTCPTransport.cpp:
- debug helpers only
responseHandlers.*:
- added two new handlers, NOOP and Echo
2011-01-07 08:44:43 +01:00
miha_vitorovic
8339c338de
blockingServerTCPTransport.cpp:
...
- using enum to specify command.
BlockingTCPAcceptor.cpp:
- added 'destroy()' to dtor
- added parentheses to expressions
blockingTCPCinnector.cpp:
- fixed log message
blockingTCPTransport.cpp:
- added _socketAddress allocation
- fixed waiting for timeout in 'waitUntilVerified'
- fixed how many bytes are copied from the buffer
responseHandlers.cpp:
- added 'ConnectionValidationHandler' implementation
- added 'ConnectionValidationHandler' to 'ServerResponseHandler'
responseHandlers.h:
- added 'ConnectionValidationHandler' declaration
inetAddressUtil.cpp:
- fixed all issues with sockaddr_in byte-order
- removed function 'processAddressForList', using EPICSv3 'aToIPAddr' instead
inetAddressUtilsTest.cpp:
- fixed the tests in accordance with the correct function implementation
testBlockingUDPClnt.cpp:
- deleting transport at the end of the test
testBlockingTCPSrv.cpp, testBlockingTCPClnt.cpp:
- added tests (work in progress).
Makefile:
- added blockingTCP tests
2011-01-06 14:58:32 +01:00
miha_vitorovic
5f6652af0b
- Moved osiSockAddr comparators to 'inetAddressUtil.h'
...
- moved serve response handler implementation(s) to '/server' and fixed #includes and Makefile
2011-01-05 10:29:46 +01:00
miha_vitorovic
6a6e9d6256
Makefile:
...
- added 'server' folder
- added 'blockingTCPAcceptor.cpp' and 'responseHandlers.cpp' to 'remote'
blockingTCP.h:
- added 'public' specifier to 'BlockingServerTCPTransport'
- added 'BlockingTCPAcceptor' class declaration
blockingTCPAcceptor.cpp:
- implementation
blockingTCPConnector.cpp:
- 'sizeof(optval)' -> 'sizeof(int)'
remote.h:
- enum 'MessageCommands'
- added class declarations:
* AbstractResponseHandler
* AbstractServerResponseHandler
* BadResponse
* ServerResponseHandler
responseHandlers.cpp:
- implementation of various response handlers
serverContext.h:
- dummy implementation
growingCircularBuffer.h:
- removed empty line
2011-01-04 23:47:07 +01:00