Commit Graph

19 Commits

Author SHA1 Message Date
miha_vitorovic
328472f939 Merge with changes from Gasper Jansa 2011-01-04 12:01:14 +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
Gasper Jansa
a2798bb3b7 merging 2011-01-03 14:47:42 +01:00
Gasper Jansa
854a78d393 Transport Registry map uses osiSockAddr as key 2011-01-03 14:46:16 +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
Gasper Jansa
c850a2ecfb merging 2010-12-29 10:17:28 +01:00
gjansa
09076dd5bd transportRegistry added and remove of compare fields routine from introspectionRegistry 2010-12-29 09:56:43 +01:00
miha_vitorovic
fe5ea9442c A working blockingUDPTransport with test.
TODO: debug stopping listener thread.
2010-12-28 15:47:05 +01:00
gjansa
bc3ce27494 Using == operator on fields 2010-12-28 10:06:18 +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
Gasper Jansa
c203989cbd Introspection registry implementation 2010-12-27 10:48:01 +01:00
miha_vitorovic
6917f6d468 caConstants.h: removing needless declarations.
blockingUDPTransport.*: implementation - work in progress
remote.h: added file
inetAddressUtil.*: added 'inetAddressToString' function and fixed 'getSocketAddressList' declaration.
inetAddressUtilsTest.c: using the new function.

Makefile: added remote.h
2010-12-24 10:37:16 +01:00
Matej Sekoranja
a18f7f54a5 change make to build only one library 2010-12-19 15:25:51 +01:00
Matej Sekoranja
0e1fd21ffc MacOSX port, warnings removed 2010-12-18 20:53:17 +01:00
miha_vitorovic
e40e183884 Added logger which is implemented using standard EPICSv3 logging facilities. 2010-12-10 15:12:28 +01:00
miha_vitorovic
6bebb6594c - Added inetAddressUtil.
- Fixed Makefiles to use a single pvData library.
2010-12-10 09:52:22 +01:00
miha_vitorovic
b53db4c792 GrowingCircularBuffer added and tested. 2010-11-11 14:03:53 +01:00
miha_vitorovic
5379cd638a - Finished the ArrayFIFO test and debugged the implementation.
- Moved all the local #include directives to the top of the files, to catch any missing global #include directives.
2010-11-11 09:14:39 +01:00
miha_vitorovic
f53aad747c Added utils and tests for it. It's a work in progress. ArrayFIFOTest is still not finished. 2010-11-10 14:17:36 +01:00