Commit Graph

19 Commits

Author SHA1 Message Date
Gasper Jansa
43763781d7 bug fixes 2011-03-01 18:30:37 +01:00
Gasper Jansa
d98a386c9e server requests 2011-02-25 17:09:24 +01:00
Gasper Jansa
1dfdaa4ec5 getHandler 2011-02-22 22:55:47 +01:00
Gasper Jansa
1aecd168ab mutex fix 2011-02-18 17:57:29 +01:00
Gasper Jansa
1494fd2637 some more handlers 2011-02-18 17:37:56 +01:00
Gasper Jansa
50af37d7af DestroyChannelHandler 2011-02-17 23:07:27 +01:00
Matej Sekoranja
f7742d3eb0 Status changes 2011-02-17 01:22:08 +01:00
Gasper Jansa
0c855c7326 some handlers added 2011-02-07 22:14:39 +01:00
Matej Sekoranja
d0db4588ee mm of TransportSender 2011-02-01 00:38:11 +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