Commit Graph

89 Commits

Author SHA1 Message Date
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
955174ca39 merge 2011-01-12 16:20:57 +01:00
Matej Sekoranja
9b27d7b35d all reqs finished 2011-01-12 16:19:56 +01:00
miha_vitorovic
a8e47b38da Merge 2011-01-12 14:34:39 +01:00
miha_vitorovic
fe4f62e934 Delete ze exception 2011-01-12 14:33:15 +01:00
Matej Sekoranja
9597663cea merge 2011-01-12 14:31:34 +01:00
Matej Sekoranja
9416f887ad more responses 2011-01-12 14:30:05 +01:00
miha_vitorovic
3bd11a1e00 Fixing the TCPConnector cleanup order in case of a server crash. 2011-01-12 14:23:32 +01:00
miha_vitorovic
2565191fb7 Removed socket polling from transports. 2011-01-12 14:01:54 +01:00
Matej Sekoranja
f72e495a99 more responses implemented 2011-01-11 22:35:43 +01:00
Matej Sekoranja
d30cb10439 crash on transport verification fixed 2011-01-11 18:07:49 +01:00
Matej Sekoranja
38d53f1ab6 cleanup cntd. 2011-01-11 00:58:12 +01:00
Matej Sekoranja
3ec4dcdcdb merge 2011-01-10 23:44:33 +01:00
Matej Sekoranja
b167f78416 cleanup 2011-01-10 23:43:52 +01:00
Gasper Jansa
b3fb43800f Fixing bad mering and test for search manager 2011-01-10 23:06:46 +01:00
Gasper Jansa
a5f44c97c2 merging 2011-01-10 22:29:59 +01:00
Gasper Jansa
e43d247251 deadlock and some other fixes 2011-01-10 22:15:43 +01:00
Matej Sekoranja
21951b885d create channel w/ minor error on verification send-back 2011-01-10 21:15:17 +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
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
6db84be16e - Connecting to invalid server (port) now generates an error.
- Removed usage 'ipAddrToA' from the code. Replaced with 'ipAddrToDottedIP'.
2011-01-10 15:51:35 +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
df7a9fa073 Added configuration to Context and fixed all the users. 2011-01-10 14:09:58 +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
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
Gasper Jansa
948f706c4f merging 2011-01-09 21:45:08 +01:00
Gasper Jansa
3d59fef56e some search manager fixes 2011-01-09 21:44:38 +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
Matej Sekoranja
7a16e8f748 merge 2011-01-09 20:08:34 +01:00
Matej Sekoranja
5c5305635b first successful message test 2011-01-09 20:07:03 +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
8f0b4d8594 Using osiSockAddress parameter by reference wherever possible. 2011-01-07 14:42:00 +01:00
miha_vitorovic
07712cc1f7 Fixed a crash in client which happened if a server closed connection. 2011-01-07 13:29:00 +01:00
miha_vitorovic
71b9dfec6d TCP transport now basically works. Still some bugs to squash. 2011-01-07 09:53:33 +01:00
miha_vitorovic
387d8aa0dc Some final fixes to addressUtils regarding byte-order. 2011-01-07 08:58:17 +01:00
Gasper Jansa
5707815767 empty test file for channel search manager for real now :) 2011-01-06 17:19:20 +01:00
Gasper Jansa
95fdf3e410 merging 2011-01-06 17:14:26 +01:00
Gasper Jansa
512bc514e6 Small fixes and empty channel search manager test 2011-01-06 17:12:35 +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
miha_vitorovic
6c3b00dc86 configure/CONFIG_SITE:
- added explicit instructions to link pthread library, since it is not included by default on Fedora linux (possibly others?)

testRemoteClientImpl.cpp:
- added "#include <memory>" needed for std::auto_ptr
2011-01-06 09:49:22 +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