Commit Graph

9 Commits

Author SHA1 Message Date
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
f72e495a99 more responses implemented 2011-01-11 22:35:43 +01:00
miha_vitorovic
8f0b4d8594 Using osiSockAddress parameter by reference wherever possible. 2011-01-07 14:42:00 +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
miha_vitorovic
b6df9a4d89 blockingTCP.h: added TransportRegistry, removed "using namespace"
BlockingTCPTransport: added TransportRegistry, using osiSock.h functions wherever possible
blockingUDP.h: removed "using namespace"
blockingUDPConnector.cpp: using osiSock.h functions wherever possible
blockingUDPTransport: using osiSock.h functions wherever possible, delete -> delete[]
remote.h: removed "using namespace"
arrayFIFO.h: fixed default ctor, delete -> delete[]
growingCircularBuffer.h: delete -> delete[]
testBlockingUDPClnt.cpp: using osiSock.h functions wherever possible
testBlockingUDPCSrv.cpp: using osiSock.h functions wherever possible
2011-01-03 14:30:38 +01:00
miha_vitorovic
16542b9e3c Set socket options based on Connector properties. 2010-12-28 09:06:38 +01:00
miha_vitorovic
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
2010-12-28 08:59:25 +01:00