Matej Sekoranja
8fdd51396c
remote connection close fix, request destroy fix
2011-02-02 10:49:32 +01:00
Matej Sekoranja
d0db4588ee
mm of TransportSender
2011-02-01 00:38:11 +01:00
Matej Sekoranja
db1a880c68
get rid of status globals, global enum
2011-01-31 22:08:25 +01:00
Matej Sekoranja
ec3a7b3ed6
resubscription
2011-01-28 21:22:31 +01:00
Matej Sekoranja
441532ff66
baseException fix
2011-01-28 19:52:46 +01:00
Matej Sekoranja
8dbc67377c
no-queue monitor implementation
2011-01-24 23:20:19 +01:00
Matej Sekoranja
5cb78eac05
TCP transport cleanup, lots of printf still in use
2011-01-24 18:07:37 +01:00
Matej Sekoranja
b23e7f13d8
memory management fixes
2011-01-23 23:47:13 +01:00
Matej Sekoranja
d8f81d79db
MM cleanup
2011-01-20 19:01:25 +01:00
Matej Sekoranja
c6d51067d1
UDP transport cleanup
2011-01-20 17:47:13 +01:00
Matej Sekoranja
4c49c498c9
UDP port reuse fixed
2011-01-19 10:52:06 +01:00
Matej Sekoranja
9d2692026a
BaseResponseRequests
2011-01-16 22:40:30 +01:00
miha_vitorovic
b63373ba03
Using %u to display size_type variable - avoid warning.
2011-01-12 16:05:13 +01:00
Matej Sekoranja
9597663cea
merge
2011-01-12 14:31:34 +01:00
Matej Sekoranja
9416f887ad
more responses
2011-01-12 14:30:05 +01:00
miha_vitorovic
3bd11a1e00
Fixing the TCPConnector cleanup order in case of a server crash.
2011-01-12 14:23:32 +01:00
miha_vitorovic
2565191fb7
Removed socket polling from transports.
2011-01-12 14:01:54 +01:00
Matej Sekoranja
f72e495a99
more responses implemented
2011-01-11 22:35:43 +01:00
Gasper Jansa
b3fb43800f
Fixing bad mering and test for search manager
2011-01-10 23:06:46 +01:00
Gasper Jansa
a5f44c97c2
merging
2011-01-10 22:29:59 +01:00
Gasper Jansa
5224123ba4
deadlock and some other fixes
2011-01-10 22:15:32 +01:00
Gasper Jansa
636a1f73bd
deadlock and some other fixes
2011-01-10 22:15:14 +01:00
Matej Sekoranja
21951b885d
create channel w/ minor error on verification send-back
2011-01-10 21:15:17 +01:00
Matej Sekoranja
349a8217f7
merge and broadcast addresses fix
2011-01-10 17:51:30 +01:00
Matej Sekoranja
a87b9e72e7
search req. accepted
2011-01-10 16:34:56 +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
d7852fa666
Moved AbstractResponseHandler definition to a more logical place.
2011-01-10 14:11:27 +01:00
miha_vitorovic
df7a9fa073
Added configuration to Context and fixed all the users.
2011-01-10 14:09:58 +01:00
Matej Sekoranja
62ce32e824
merge
2011-01-09 22:50:26 +01:00
Matej Sekoranja
f1f7ad2709
Context, ChannelSearchManager cyc. dep. resolved
2011-01-09 22:41:05 +01:00
Gasper Jansa
948f706c4f
merging
2011-01-09 21:45:08 +01:00
Gasper Jansa
3d59fef56e
some search manager fixes
2011-01-09 21:44:38 +01:00
miha_vitorovic
2dcc2eb486
Merge with 7c40a236787c9744303bb30e6ee9cb2ec81c2215
2011-01-09 21:02:50 +01:00
Matej Sekoranja
7a16e8f748
merge
2011-01-09 20:08:34 +01:00
Matej Sekoranja
5c5305635b
first successful message test
2011-01-09 20:07:03 +01:00
Gasper Jansa
8644741cfa
merging
2011-01-07 18:47:13 +01:00
Gasper Jansa
932406e847
configuration implementation and test
2011-01-07 18:46:25 +01:00
miha_vitorovic
130e6f9645
Added some additional commands to 'MessageCommands' enum.
2011-01-07 15:08:53 +01:00
miha_vitorovic
8f0b4d8594
Using osiSockAddress parameter by reference wherever possible.
2011-01-07 14:42:00 +01:00
miha_vitorovic
07712cc1f7
Fixed a crash in client which happened if a server closed connection.
2011-01-07 13:29:00 +01:00
miha_vitorovic
3c03971939
Fixed core dumps. Transport client now finishes successfully.
2011-01-07 13:01:48 +01:00
miha_vitorovic
71b9dfec6d
TCP transport now basically works. Still some bugs to squash.
2011-01-07 09:53:33 +01:00
miha_vitorovic
a59ce661eb
Merge with 8ddd7d0d0f6862b3ad94474f490855909859637e
2011-01-07 08:46:17 +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
Gasper Jansa
95fdf3e410
merging
2011-01-06 17:14:26 +01:00
Gasper Jansa
512bc514e6
Small fixes and empty channel search manager test
2011-01-06 17:12:35 +01:00
Gasper Jansa
3dcc75bb57
ChannelSearchManager implementation
2011-01-06 15:59:40 +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
0af1781b5e
Added connected clients tracking to BlockingTCPAcceptor. For each new connection a new 'BlockingServerTCPTransport' object is created, but was never released.
...
The acceptor now stores all the objects in a set, and registers a callback with the client, to be notified when the connection is closed. On notification the client is them removed from the set and the memory is released.
When the acceptor is destroyed, it also closes and deleted all the connected clients.
2011-01-05 13:36:07 +01:00
miha_vitorovic
dcc2c83336
Fixed compilation error in TransportClient - dtor definition.
2011-01-05 10:36:50 +01:00