e43d247251
deadlock and some other fixes
Gasper Jansa
2011-01-10 22:15:43 +01:00
5224123ba4
deadlock and some other fixes
Gasper Jansa
2011-01-10 22:15:32 +01:00
636a1f73bd
deadlock and some other fixes
Gasper Jansa
2011-01-10 22:15:14 +01:00
21951b885d
create channel w/ minor error on verification send-back
Matej Sekoranja
2011-01-10 21:15:17 +01:00
349a8217f7
merge and broadcast addresses fix
Matej Sekoranja
2011-01-10 17:51:30 +01:00
a87b9e72e7
search req. accepted
Matej Sekoranja
2011-01-10 16:34:56 +01:00
487882dbff
- 'getBroadcastAddresses' now accepts a port as parameter which in then used in all returned broadcast addresses. - 'getBroadcastAddresses' now returns a default broadcast address (255.255.255.255) on failure, if no other broadcast address was found.
miha_vitorovic
2011-01-10 16:13:23 +01:00
6db84be16e
- Connecting to invalid server (port) now generates an error. - Removed usage 'ipAddrToA' from the code. Replaced with 'ipAddrToDottedIP'.
miha_vitorovic
2011-01-10 15:51:35 +01:00
932406e847
configuration implementation and test
Gasper Jansa
2011-01-07 18:46:25 +01:00
29db197035
inetAddressUtil.cpp: - the ported version of 'getBroadcastAddresses' compiles. TODO - test and debug.
miha_vitorovic
2011-01-07 16:28:42 +01:00
130e6f9645
Added some additional commands to 'MessageCommands' enum.
miha_vitorovic
2011-01-07 15:08:53 +01:00
8f0b4d8594
Using osiSockAddress parameter by reference wherever possible.
miha_vitorovic
2011-01-07 14:42:00 +01:00
07712cc1f7
Fixed a crash in client which happened if a server closed connection.
miha_vitorovic
2011-01-07 13:29:00 +01:00
3c03971939
Fixed core dumps. Transport client now finishes successfully.
miha_vitorovic
2011-01-07 13:01:48 +01:00
b868736759
Some formatting of the debug message.
miha_vitorovic
2011-01-07 10:03:20 +01:00
71b9dfec6d
TCP transport now basically works. Still some bugs to squash.
miha_vitorovic
2011-01-07 09:53:33 +01:00
387d8aa0dc
Some final fixes to addressUtils regarding byte-order.
miha_vitorovic
2011-01-07 08:58:17 +01:00
a59ce661eb
Merge with 8ddd7d0d0f6862b3ad94474f490855909859637e
miha_vitorovic
2011-01-07 08:46:17 +01:00
25d6336efa
Merge with c53f510976d631f0602c377e31010184e35bce79
miha_vitorovic
2011-01-06 15:00:26 +01:00
8339c338de
blockingServerTCPTransport.cpp: - using enum to specify command.
miha_vitorovic
2011-01-06 14:58:32 +01:00
6c3b00dc86
configure/CONFIG_SITE: - added explicit instructions to link pthread library, since it is not included by default on Fedora linux (possibly others?)
miha_vitorovic
2011-01-06 09:49:22 +01:00
3c1b9d9743
MacOSX port, this needs to be portable... epicsMutex, but there is no timedlock.
Matej Sekoranja
2011-01-05 18:02:09 +01:00
0af1781b5e
Added connected clients tracking to BlockingTCPAcceptor. For each new connection a new 'BlockingServerTCPTransport' object is created, but was never released.
miha_vitorovic
2011-01-05 13:36:07 +01:00
596d933bb5
Merge with changes from Matej
miha_vitorovic
2011-01-05 10:31:17 +01:00
5f6652af0b
- Moved osiSockAddr comparators to 'inetAddressUtil.h' - moved serve response handler implementation(s) to '/server' and fixed #includes and Makefile
miha_vitorovic
2011-01-05 10:29:46 +01:00
0cab12ffd6
merge
Matej Sekoranja
2011-01-05 10:15:52 +01:00
bf5e3f3e19
ChannelSearchManager mocks
Matej Sekoranja
2011-01-05 10:14:18 +01:00
544fc6bd73
Added NamedLockPattern to BlockingTCPConnector and resolved some warnings and compilation/linker errors. Reference to '__sync_add_and_fetch' and '__sync_sub_and_fetch' removed for now, since it is glibc version specific.
miha_vitorovic
2011-01-05 09:20:51 +01:00
5ec1adfacb
Merge with additions from Gasper Jansa
miha_vitorovic
2011-01-04 23:48:59 +01:00
6a6e9d6256
Makefile: - added 'server' folder - added 'blockingTCPAcceptor.cpp' and 'responseHandlers.cpp' to 'remote'
miha_vitorovic
2011-01-04 23:47:07 +01:00
9a8c205d54
Some GrowingCircularBuffer and Mutex cleanup.
miha_vitorovic
2010-12-31 12:00:40 +01:00
16aa5fba25
Added MonitorHandler. Porting of BlockingTCPTransport now complete. TODO: 1) check thread sync and "notify" in Java make C++ code as equivalent as possible. 2) Debug :)
miha_vitorovic
2010-12-30 13:53:52 +01:00
09076dd5bd
transportRegistry added and remove of compare fields routine from introspectionRegistry
gjansa
2010-12-29 09:56:43 +01:00
2b9c505b8d
transportRegistry test
gjansa
2010-12-29 09:55:45 +01:00
5d5346d818
transportRegistry test
gjansa
2010-12-29 09:55:19 +01:00
15d2daef43
Some changes to how transport is destroyed. Added virtual dtor to Transport class. In server the transport is now explicitly deleted.
miha_vitorovic
2010-12-28 16:29:15 +01:00
fe5ea9442c
A working blockingUDPTransport with test. TODO: debug stopping listener thread.
miha_vitorovic
2010-12-28 15:47:05 +01:00
3eea9688f0
Some comments removed.
gjansa
2010-12-28 10:10:00 +01:00
58f03384c2
UDP transport cleanup - closing the socket and stopping the thread;
miha_vitorovic
2010-12-28 10:09:37 +01:00
bc3ce27494
Using == operator on fields
gjansa
2010-12-28 10:06:18 +01:00
16542b9e3c
Set socket options based on Connector properties.
miha_vitorovic
2010-12-28 09:06:38 +01:00
06842f7890
Makefile: renamed blockingUDP header, added blockingUDPConnector.cpp blockingUDPTransport.cpp: fixed ctor, addedmutex to 'enqueueSendRequest', started using 'sys/socket.h' remote.h: added TransportClient and Connector classes introspectionRegistry.h: organized #includes
miha_vitorovic
2010-12-28 08:59:25 +01:00
15ad456930
Merge with 2240b8485ef2182e083614fc304bfe7e1b6c771a
miha_vitorovic
2010-12-27 14:02:31 +01:00
54b4862e16
Finished the implementation of BlockingUDPTransport. Ready for testing and debugging.
miha_vitorovic
2010-12-27 13:58:49 +01:00
69517e18f6
introspection registry test
Gasper Jansa
2010-12-27 10:51:51 +01:00