Commit Graph

36 Commits

Author SHA1 Message Date
Matej Sekoranja
c36ba5264d port from pvAccessCPP-md 2011-05-12 12:47:55 +02:00
Gasper Jansa
d98a386c9e server requests 2011-02-25 17:09:24 +01:00
Gasper Jansa
faac27d1fc added baseChannelRequester files 2011-02-18 17:39:45 +01:00
Gasper Jansa
e794ecac88 ChannelServerImpl added 2011-02-11 16:16:32 +01:00
Marty Kraimer
22e9a36ccb fixed bug in CreateRequestFactory 2011-02-04 12:33:56 -05:00
Matej Sekoranja
a63374e86b ClientFactory added 2011-02-03 17:09:13 +01:00
Gasper Jansa
327efbcf80 server context implementation 2011-01-31 22:52:25 +01:00
Matej Sekoranja
0c13ba72a3 ClientContextImpl 2011-01-30 22:39:56 +01:00
Matej Sekoranja
349a8217f7 merge and broadcast addresses fix 2011-01-10 17:51:30 +01:00
Matej Sekoranja
a87b9e72e7 search req. accepted 2011-01-10 16:34:56 +01:00
miha_vitorovic
df7a9fa073 Added configuration to Context and fixed all the users. 2011-01-10 14:09:58 +01:00
Gasper Jansa
932406e847 configuration implementation and test 2011-01-07 18:46:25 +01:00
Gasper Jansa
512bc514e6 Small fixes and empty channel search manager test 2011-01-06 17:12:35 +01:00
miha_vitorovic
5f6652af0b - Moved osiSockAddr comparators to 'inetAddressUtil.h'
- moved serve response handler implementation(s) to '/server' and fixed #includes and Makefile
2011-01-05 10:29:46 +01:00
miha_vitorovic
5ec1adfacb Merge with additions from Gasper Jansa 2011-01-04 23:48:59 +01:00
miha_vitorovic
6a6e9d6256 Makefile:
- added 'server' folder
- added 'blockingTCPAcceptor.cpp' and 'responseHandlers.cpp' to 'remote'

blockingTCP.h:
- added 'public' specifier to 'BlockingServerTCPTransport'
- added 'BlockingTCPAcceptor' class declaration

blockingTCPAcceptor.cpp:
- implementation

blockingTCPConnector.cpp:
- 'sizeof(optval)' -> 'sizeof(int)'

remote.h:
- enum 'MessageCommands'
- added class declarations:
  * AbstractResponseHandler
  * AbstractServerResponseHandler
  * BadResponse
  * ServerResponseHandler

responseHandlers.cpp:
- implementation of various response handlers

serverContext.h:
- dummy implementation

growingCircularBuffer.h:
- removed empty line
2011-01-04 23:47:07 +01:00
Gasper Jansa
7f528828ad merge 2011-01-04 18:44:50 +01:00
Gasper Jansa
547a648e76 Named locked pattern and some small things for beacon emitter and handler 2011-01-04 18:43:20 +01:00
miha_vitorovic
02478fa61e Added class 'BlockingServerTCPTransport'. 2011-01-04 13:17:12 +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
0a43e1104c beaconEmitter and handler (not finished) 2011-01-03 09:58:35 +01:00
miha_vitorovic
c452ec3343 Merge with 0e964e46b15e05887fa9ce6e486681bf0a691654 2010-12-29 15:02:44 +01:00
miha_vitorovic
2202d88020 blockingTCPTransport - work in progress. 2010-12-29 15:01:42 +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
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
e5aa01a576 introspection regitry implementation 2010-12-27 10:47:18 +01:00
Matej Sekoranja
7cad4455c3 merge + signed/unsigned comparison fix 2010-12-27 10:12:09 +01:00
Matej Sekoranja
6502180a9f CreateRequest 2010-12-27 10:03:25 +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
miha_vitorovic
20cf4fed8b Starting work on blocking tranport. 2010-12-21 10:06:42 +01:00
Matej Sekoranja
a18f7f54a5 change make to build only one library 2010-12-19 15:25:51 +01:00
Matej Sekoranja
dbc4067957 test directory reorganization 2010-12-19 08:56:06 +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
Matej Sekoranja
620f0f0681 ChannelAccessFactory implemented and tested 2010-11-03 16:07:20 +01:00
Matej Sekoranja
038e99b5c9 Initial directory structure 2010-11-03 10:32:17 +01:00