Commit Graph

25 Commits

Author SHA1 Message Date
Matej Sekoranja e11cca0fdb unused params warnings removed 2012-10-10 12:02:12 +02:00
Matej Sekoranja 4f15626281 remote.h interfaces sync with Java - cleanup 2012-07-25 12:46:04 +02:00
Matej Sekoranja 3ea38d79dd IntrospectionRegistry changes, does not compile 2012-07-24 23:00:20 +02:00
Matej Sekoranja 49bc940179 removed CDRMonitor, ported to new Timer API 2012-07-18 11:09:00 +02:00
Matej Sekoranja 4b5bc38835 unsigned/size_t/shared ptrs 2012-06-15 14:47:16 +02:00
Matej Sekoranja 8464aacbef header cleanup 2011-10-20 15:40:53 +02:00
Matej Sekoranja e79de9d46d testing AtomicBoolean for _closed flag 2011-10-06 13:53:43 +02:00
Matej Sekoranja 409c1f17d7 byte order independent code, transportRevision is int8 2011-09-18 10:06:37 +02:00
Matej Sekoranja ee0d56fcae locking order fixed 2011-08-29 08:34:21 +02:00
Matej Sekoranja 872135a4b1 new logging, SIGPIPE and other handled 2011-08-25 15:17:36 +02:00
Marty Kraimer 2ee024ecb8 include files put into include/pv 2011-06-07 08:31:41 -04:00
Matej Sekoranja 1da4173535 shared_pointer const & 2011-05-13 14:02:06 +02:00
Matej Sekoranja c36ba5264d port from pvAccessCPP-md 2011-05-12 12:47:55 +02:00
Matej Sekoranja a077d7d084 no traffic fix 2011-04-11 14:52:57 +02:00
Marty Kraimer 753e6d246b Make * to & changes due to changes in pvData. 2011-02-18 08:20:27 -05:00
Matej Sekoranja c87ff047ca stability 2011-02-10 17:05:34 +01:00
Matej Sekoranja f268ec5f8d volatile cleanup 2011-02-07 15:35:52 +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 a87b9e72e7 search req. accepted 2011-01-10 16:34:56 +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 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 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 bd1a4e2634 Makefile: included all the new sources
blockingClientTCPTransport.cpp: implementation

blockingTCP.h:
* class BlockingTCPTransport:
  - added Context to ctor
  - added 'virtual' declaration to overrides
  - 'priority' is now 'int16'
* added class 'BlockingClientTCPTransport'

blockingTCPConnector.cpp: implementation

blockingTCPTransport.cpp:
* removed 'transportRegistry' added 'context'

blockingUDP.h:
* added missing override 'getIntrospectionRegistry'
* 'BlockingUDPConnector::_priority' is now 'int16' instead of 'short'

blockingUDPConnector.cpp:
* 'connect' parameter priority is now 'int16' instead of 'short'
* fixed and added error logging

remote.h:
* added 'TransportRegistry' forward declaration
* added 'Transport::getIntrospectionRegistry' prototype
* changed 'Connector::connect' prototype parameter 'priority': 'short'->'int16'
* added 'Context' interface
* added 'ReferenceCountingTransport' interface

transportRegistry.h:
* added 'Transport' forward declaration

testRemoteClientImpl.cpp:
* added '#include <transportRegistry.h>' to fix compile error
* lots of auto-format changes

transportRegistryTest.cpp:
*
2011-01-04 11:58:00 +01:00