61 Commits

Author SHA1 Message Date
Matej Sekoranja
4e22433de1 wildcharMatcher removed, headers cleaned from using statements 2011-10-20 15:10:31 +02:00
Matej Sekoranja
0eb299b843 AtomicBoolean for _closed flag 2011-10-06 20:40:33 +02:00
Matej Sekoranja
ba61be3c1c initial batch of gtest tests 2011-09-23 15:17:44 +02:00
jrowlandls
fcb0805d85 merge 2011-09-21 10:33:16 +01:00
jrowlandls
dff545bed7 must initialize sockets with osiSockAttach on Windows 2011-09-21 10:31:24 +01:00
Matej Sekoranja
018450b1bd merge 2011-09-20 17:51:37 +02:00
Matej Sekoranja
d03ac9d00f TCP read fixed, some unactive alignment code added 2011-09-20 17:37:28 +02:00
jrowlandls
6383b8933f tests now using libCom osi 2011-09-19 14:51:35 +01:00
jrowlandls
267d486073 window: used osiSock to discover broadcast addresses, used more portable types, replaced two instances of variable length stack allocation with std::vector 2011-09-16 11:54:33 +01:00
Matej Sekoranja
633801c2ae RTEMS support; using namespace removed from headers 2011-09-13 09:56:39 +02:00
Matej Sekoranja
54d435972b new ByteBuffer support 2011-09-08 11:15:36 +02:00
Matej Sekoranja
872135a4b1 new logging, SIGPIPE and other handled 2011-08-25 15:17:36 +02:00
Marty Kraimer
2ee024ecb8 include files put into include/pv 2011-06-07 08:31:41 -04:00
Matej Sekoranja
dbda9334f1 removed printout 2011-05-22 13:37:52 +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
Matej Sekoranja
f7742d3eb0 Status changes 2011-02-17 01:22:08 +01:00
Matej Sekoranja
f268ec5f8d volatile cleanup 2011-02-07 15:35:52 +01:00
Gasper Jansa
657ab82cf0 small fixies 2011-02-04 13:50:04 +01:00
Michael Davidsaver
8904298718 update for changes to PVData object monitoring
showConstructDestruct.h renamed as CDRMonitor.h
2011-02-02 10:07:19 -05:00
Gasper Jansa
82969687f8 fixed memory leak. System configuration gets created by default. 2011-01-31 21:17:42 +01:00
Gasper Jansa
29ae6bb531 merging 2011-01-24 21:47:36 +01:00
Gasper Jansa
7d16a119df some fixes in introspection registry 2011-01-24 21:44:27 +01:00
Gasper Jansa
32bed890b6 configuration , changed key in maps from char* to std::string 2011-01-21 16:09:04 +01:00
Matej Sekoranja
d8f81d79db MM cleanup 2011-01-20 19:01:25 +01:00
Matej Sekoranja
b6bbfc7ddf uncommented 2011-01-19 21:39:51 +01:00
Matej Sekoranja
9d2692026a BaseResponseRequests 2011-01-16 22:40:30 +01:00
Matej Sekoranja
d5da957de6 new pvDataCPP 2011-01-13 00:53:20 +01:00
Matej Sekoranja
38d53f1ab6 cleanup cntd. 2011-01-11 00:58:12 +01:00
Matej Sekoranja
b167f78416 cleanup 2011-01-10 23:43:52 +01:00
miha_vitorovic
487882dbff - 'getBroadcastAddresses' now accepts a port as parameter which in then used in all returned broadcast addresses.
- 'getBroadcastAddresses' now returns a default broadcast address (255.255.255.255) on failure, if no other broadcast address was found.
2011-01-10 16:13:23 +01:00
miha_vitorovic
44516e8a40 GrowingCircularBuffer template specialization for pointers done. 2011-01-10 15:37:25 +01:00
miha_vitorovic
4e96a20766 ArrayFIFO template specialization for pointers done. 2011-01-10 15:18:15 +01:00
miha_vitorovic
4b8bb07d61 Merge 2011-01-10 11:24:14 +01:00
miha_vitorovic
596034d6c6 Added debug build to the project
Fixes to getBroadcastAddresses().
2011-01-10 11:23:31 +01:00
Gasper Jansa
948f706c4f merging 2011-01-09 21:45:08 +01:00
miha_vitorovic
2dcc2eb486 Merge with 7c40a236787c9744303bb30e6ee9cb2ec81c2215 2011-01-09 21:02:50 +01:00
miha_vitorovic
e40d6a9d12 getBroadcastAddresses working. 2011-01-09 20:59:02 +01:00
Gasper Jansa
e26e05bfbf epics mutex now used in named lock pattern 2011-01-09 20:15:00 +01:00
Gasper Jansa
8644741cfa merging 2011-01-07 18:47:13 +01:00
Gasper Jansa
932406e847 configuration implementation and test 2011-01-07 18:46:25 +01:00
miha_vitorovic
387d8aa0dc Some final fixes to addressUtils regarding byte-order. 2011-01-07 08:58:17 +01:00
miha_vitorovic
25d6336efa Merge with c53f510976d631f0602c377e31010184e35bce79 2011-01-06 15:00:26 +01:00
miha_vitorovic
8339c338de blockingServerTCPTransport.cpp:
- using enum to specify command.

BlockingTCPAcceptor.cpp:
- added 'destroy()' to dtor
- added parentheses to expressions

blockingTCPCinnector.cpp:
- fixed log message

blockingTCPTransport.cpp:
- added _socketAddress allocation
- fixed waiting for timeout in 'waitUntilVerified'
- fixed how many bytes are copied from the buffer

responseHandlers.cpp:
- added 'ConnectionValidationHandler' implementation
- added 'ConnectionValidationHandler' to 'ServerResponseHandler'

responseHandlers.h:
- added 'ConnectionValidationHandler' declaration

inetAddressUtil.cpp:
- fixed all issues with sockaddr_in byte-order
- removed function 'processAddressForList', using EPICSv3 'aToIPAddr' instead

inetAddressUtilsTest.cpp:
- fixed the tests in accordance with the correct function implementation

testBlockingUDPClnt.cpp:
- deleting transport at the end of the test

testBlockingTCPSrv.cpp, testBlockingTCPClnt.cpp:
- added tests (work in progress).

Makefile:
- added blockingTCP tests
2011-01-06 14:58:32 +01:00
Matej Sekoranja
3c1b9d9743 MacOSX port, this needs to be portable... epicsMutex, but there is no timedlock. 2011-01-05 18:02:09 +01:00
Gasper Jansa
7f528828ad merge 2011-01-04 18:44:50 +01:00
Gasper Jansa
435164bd60 Named lock pattern now for real 2011-01-04 18:43:56 +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
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