Commit Graph

51 Commits

Author SHA1 Message Date
Matej Sekoranja
2f31bf74bc win32 port: visibility declration 2013-11-27 08:13:32 +01:00
Matej Sekoranja
6c14f27641 CA to PVA rename 2013-05-16 09:58:38 +02:00
Matej Sekoranja
f72f89b4d2 direct, i.e. no-copy, de/serialization support; prepared some IF for bulk send 2013-04-12 21:55:25 +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
1b6587336e cleanup phase I 2012-07-24 10:13:57 +02:00
Matej Sekoranja
49bc940179 removed CDRMonitor, ported to new Timer API 2012-07-18 11:09:00 +02:00
Matej Sekoranja
998fd9e44e version check and port numbers aligned with Java 2012-06-27 08:25:15 +02:00
Matej Sekoranja
4b5bc38835 unsigned/size_t/shared ptrs 2012-06-15 14:47:16 +02:00
Matej Sekoranja
64672885a6 initial version of new ChannelSearchManager 2011-11-08 14:34:45 +01:00
Matej Sekoranja
8464aacbef header cleanup 2011-10-20 15:40:53 +02:00
Matej Sekoranja
4e22433de1 wildcharMatcher removed, headers cleaned from using statements 2011-10-20 15:10:31 +02:00
Matej Sekoranja
858ba3d7cc merge 2011-10-06 21:28:55 +02:00
Matej Sekoranja
0eb299b843 AtomicBoolean for _closed flag 2011-10-06 20:40:33 +02:00
Guobao SHEN
f4ff56e8b2 fix pvAccess.h include path 2011-10-06 14:12:32 -04:00
Matej Sekoranja
e21938968c locking of ChannelRequest data 2011-10-04 14:51:23 +02:00
Matej Sekoranja
409c1f17d7 byte order independent code, transportRevision is int8 2011-09-18 10:06:37 +02:00
Matej Sekoranja
633801c2ae RTEMS support; using namespace removed from headers 2011-09-13 09:56:39 +02:00
Marty Kraimer
2ee024ecb8 include files put into include/pv 2011-06-07 08:31:41 -04:00
Matej Sekoranja
484da96da6 shared_pointer cycles 2011-05-17 23:32:39 +02: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
Gasper Jansa
d98a386c9e server requests 2011-02-25 17:09:24 +01:00
Matej Sekoranja
f7742d3eb0 Status changes 2011-02-17 01:22:08 +01:00
Matej Sekoranja
c87ff047ca stability 2011-02-10 17:05:34 +01:00
Matej Sekoranja
88e33f1155 channel/responseRequest destruction 2011-02-07 22:19:46 +01:00
Matej Sekoranja
f268ec5f8d volatile cleanup 2011-02-07 15:35:52 +01:00
Matej Sekoranja
d0db4588ee mm of TransportSender 2011-02-01 00:38:11 +01:00
Matej Sekoranja
db1a880c68 get rid of status globals, global enum 2011-01-31 22:08:25 +01:00
Matej Sekoranja
d8f81d79db MM cleanup 2011-01-20 19:01:25 +01:00
Matej Sekoranja
9d2692026a BaseResponseRequests 2011-01-16 22:40:30 +01:00
Matej Sekoranja
f72e495a99 more responses implemented 2011-01-11 22:35:43 +01:00
Matej Sekoranja
21951b885d create channel w/ minor error on verification send-back 2011-01-10 21:15:17 +01:00
miha_vitorovic
df7a9fa073 Added configuration to Context and fixed all the users. 2011-01-10 14:09:58 +01:00
Matej Sekoranja
62ce32e824 merge 2011-01-09 22:50:26 +01:00
Matej Sekoranja
f1f7ad2709 Context, ChannelSearchManager cyc. dep. resolved 2011-01-09 22:41:05 +01:00
miha_vitorovic
130e6f9645 Added some additional commands to 'MessageCommands' enum. 2011-01-07 15:08:53 +01:00
miha_vitorovic
8f0b4d8594 Using osiSockAddress parameter by reference wherever possible. 2011-01-07 14:42:00 +01:00
miha_vitorovic
dcc2c83336 Fixed compilation error in TransportClient - dtor definition. 2011-01-05 10:36:50 +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
544fc6bd73 Added NamedLockPattern to BlockingTCPConnector and resolved some warnings and compilation/linker errors.
Reference to '__sync_add_and_fetch' and '__sync_sub_and_fetch' removed for now, since it is glibc version specific.
2011-01-05 09:20:51 +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
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
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
2202d88020 blockingTCPTransport - work in progress. 2010-12-29 15:01:42 +01:00
miha_vitorovic
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
miha_vitorovic
fe5ea9442c A working blockingUDPTransport with test.
TODO: debug stopping listener thread.
2010-12-28 15:47:05 +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
miha_vitorovic
54b4862e16 Finished the implementation of BlockingUDPTransport. Ready for testing and debugging. 2010-12-27 13:58:49 +01:00