535 Commits

Author SHA1 Message Date
547a648e76 Named locked pattern and some small things for beacon emitter and handler 2011-01-04 18:43:20 +01:00
45ec248380 merge 2011-01-04 13:16:27 +01:00
b6d9221a47 ctnd. work on remote client access implementation 2011-01-04 12:58:51 +01:00
328472f939 Merge with changes from Gasper Jansa 2011-01-04 12:01:14 +01:00
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
a2798bb3b7 merging 2011-01-03 14:47:42 +01:00
854a78d393 Transport Registry map uses osiSockAddr as key 2011-01-03 14:46:16 +01:00
9b99f6f389 Merge with commit from Gasper Jansa 2011-01-03 14:31:50 +01:00
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
0a43e1104c beaconEmitter and handler (not finished) 2011-01-03 09:58:35 +01:00
95148e2d50 ref. counting macro, starting remote client implementation 2011-01-02 12:59:33 +01:00
c850a2ecfb merging 2010-12-29 10:17:28 +01:00
2b9c505b8d transportRegistry test 2010-12-29 09:55:45 +01:00
5d5346d818 transportRegistry test 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.
2010-12-28 16:29:15 +01:00
fe5ea9442c A working blockingUDPTransport with test.
TODO: debug stopping listener thread.
2010-12-28 15:47:05 +01:00
3eea9688f0 Some comments removed. 2010-12-28 10:10:00 +01:00
69517e18f6 introspection registry test 2010-12-27 10:51:51 +01:00
e5aa01a576 introspection regitry implementation 2010-12-27 10:47:18 +01:00
7cad4455c3 merge + signed/unsigned comparison fix 2010-12-27 10:12:09 +01:00
6502180a9f CreateRequest 2010-12-27 10:03:25 +01:00
97283b5226 Merge with 2fb285b99aed93639851020862f3cf6e977655a6 2010-12-27 09:09:57 +01:00
987d5f56d3 backup commit of CreateRequestFactory only... to be moved out 2010-12-26 22:50:46 +01:00
4f3170d992 Merge with 709a6c00b719a774627de0ee9c35a6e30dc7a925 2010-12-24 15:01:03 +01:00
7f409b79d5 ChannelProcess 2010-12-24 13:26:16 +01:00
3d8b354705 Merge with 8a3fa7abb5b7252e3b803e443685b286d2724fb3 2010-12-24 10:38:08 +01:00
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
7c3451211c Implemented some ChannelXXX requests. 2010-12-22 12:58:09 +01:00
1617d41d4e Merge with 4060002ace66b81caef7ac32c598c42aa4e5123c 2010-12-21 10:07:05 +01:00
15e435ddf6 Channel::getField() 2010-12-20 23:56:29 +01:00
956627152d Further impl. 2010-12-20 19:48:24 +01:00
d0b5e2ad66 - Adding binary and temporary folders to .hgignore
- Fixing build (linker) errors
2010-12-20 09:39:25 +01:00
55a3a9a837 Starting MockClient implementation. 2010-12-19 21:19:28 +01:00
a18f7f54a5 change make to build only one library 2010-12-19 15:25:51 +01:00
dbc4067957 test directory reorganization 2010-12-19 08:56:06 +01:00