Commit Graph

63 Commits

Author SHA1 Message Date
Michael Davidsaver
5e900b1f11 remove super abstract authNZInitialize(void*)
with separate client and server calls.

Still dynamic_cast ugliness as Transport and Codec
hierarchies don't have a common root.
2017-11-05 16:41:59 -06:00
Michael Davidsaver
5137b90f56 minor client message handling
avoid unnecessary dynamic_cast
2017-09-06 13:49:24 -05:00
Michael Davidsaver
8cf56711fd pva server: keep ChannelRequester alive 2017-07-14 13:36:48 +02:00
Michael Davidsaver
8a35fbb11e reduce the number of public symbols 2017-06-26 20:17:18 +02:00
Michael Davidsaver
49c3541204 minor 2017-06-26 16:41:14 +02:00
Michael Davidsaver
7ccd8df02f PipelineMonitor -> Monitor
collapse PipelineMonitor into Monitor

no-op virtual call is probably less work than
dynamic_cast.
2017-06-22 13:09:42 +02:00
Michael Davidsaver
33e842db2e boilerplate reduction 2017-06-08 16:23:15 +02:00
Michael Davidsaver
ce25f0b175 ServerContext ref. loop breaking and threading
Drop unnecessary "worker" thread which does no work.
Ensure that returned shared_ptr is unique()==true.

Add ServerContext::create() to start a new server
with specific config and/or providers
2017-05-31 11:40:51 +02:00
Michael Davidsaver
277e5c33fb privatize some API details
hide a number of APIs which should not
be public APIs.
2017-05-30 17:12:31 +02:00
Michael Davidsaver
b05e7699b5 remove no-op lock/unlock from Lock sub-classes 2017-05-24 17:20:17 -04:00
Michael Davidsaver
4a9d79f019 sockAddrToA -> sockAddrToDottedIP
Avoid blocking host name lookup for debug log messages.
Can cause long delays when DNS not available.
2017-04-15 11:48:24 -04:00
Andrew Johnson
0ad8ece840 Define and use GETPID() macro 2016-04-06 15:19:35 -05:00
Andrew Johnson
12d68fe209 Add epicsExportSharedSymbols, move some includes 2016-04-06 10:59:22 -05:00
Matej Sekoranja
85e881fbcd send udp transport initialization order, search response broadcast transport null check
closes #39
2016-03-23 21:10:04 +01:00
Matej Sekoranja
5279d247ca general indent beautification 2016-03-10 23:36:16 +01:00
Matej Sekoranja
56b6279035 manual merge 2016-03-02 13:34:05 +01:00
Matej Sekoranja
1ca3918afa local multicast reimplemented 2016-03-01 12:11:25 +01:00
Matej Sekoranja
53d658e190 pipeline server: missing ensureData on free elements report 2016-02-19 15:09:17 +01:00
Michael Davidsaver
069555a524 remove use of throw() specifier 2016-02-10 12:06:35 -05:00
Michael Davidsaver
5019969d8a getSubField -> getSubFieldT to avoid potential NULL de-ref. 2016-01-25 12:30:25 -05:00
Matej Sekoranja
0beb3149a1 server: channel destroyed before CHANNEL_CREATE message is sent 2016-01-06 22:35:30 +01:00
Michael Davidsaver
d7e0365f1e ServerChannelRequesterImpl::channelStateChange not everything is disconnect 2016-01-05 20:04:48 -05:00
Matej Sekoranja
21a1dad07f server: multiple NIF support for UDP 2016-01-04 14:12:19 +01:00
Matej Sekoranja
63a0c71fe9 local multicast revised for multiple NIF (server side only) 2015-12-31 11:18:49 +01:00
Matej Sekoranja
a692546170 ServerChannelRequesterImpl::getRequesterName() returns client's address 2015-12-16 23:30:53 +01:00
Matej Sekoranja
4a7f057af1 server channel destroy notification to the client 2015-12-16 14:45:20 +01:00
Michael Davidsaver
76b414dac6 todo: disable local mcast fanout 2015-12-14 17:04:58 -05:00
Michael Davidsaver
96deab1e77 todo: placeholder needs to be filled in 2015-12-14 17:04:58 -05:00
Michael Davidsaver
7b72669860 todo: locking in channelmonitor 2015-12-14 17:04:58 -05:00
Michael Davidsaver
b9dd9e8e6c getRemoteName()
Cache the TCP peer address as a string and pass it to createChannel().
2015-12-14 17:04:57 -05:00
Michael Davidsaver
9696b17196 use shared_ptr immediately 2015-11-23 16:41:31 -05:00
Michael Davidsaver
e08db19ddc avoid unnecessary vector copy 2015-11-23 16:41:31 -05:00
Matej Sekoranja
7e2c216389 fixed multiple provider channeList when one fails 2015-11-09 10:37:35 +01:00
Matej Sekoranja
55328e4a53 merge 2015-10-15 21:18:56 +02:00
Matej Sekoranja
5884d5b778 PipelineMonitor instead of epics::pvData::Monitor 2015-10-15 20:59:15 +02:00
Michael Davidsaver
ef46931276 use getSubField 2015-06-22 15:04:44 -04:00
Matej Sekoranja
b381d84e64 cancel(), done(), ackAny param 2015-05-06 11:08:23 +02:00
Matej Sekoranja
197f763452 pipeline support 2015-04-29 15:17:54 -04:00
Matej Sekoranja
c8c0498cdf using new copy API 2015-02-18 10:03:18 +01:00
Matej Sekoranja
a21908de89 channel get/put/putget/array local storage instead of references 2015-02-12 13:48:29 +01:00
Matej Sekoranja
5a6b681bf7 server search response delay 2014-11-24 11:00:04 +01:00
Matej Sekoranja
2f1c227f4f vxWorks htons macro woes 2014-11-11 12:26:47 +01:00
Matej Sekoranja
5b1825a11c URI: ev4 to epics, and URI version major check 2014-10-28 22:04:01 +01:00
Matej Sekoranja
631ddbf157 win32 nominmax 2014-10-15 17:09:19 +02:00
Matej Sekoranja
66f2995a71 pvlist for servers w/ multiple providers 2014-10-15 14:13:55 +02:00
Matej Sekoranja
7cc0ca9cb1 win32 getpid 2014-10-13 23:22:09 +02:00
Matej Sekoranja
b539eaa4bd server RPC info op 2014-10-13 22:31:13 +02:00
Matej Sekoranja
432f385467 URI change 2014-09-30 22:50:37 +02:00
Matej Sekoranja
be623ca927 asChecks 2014-09-11 14:26:59 +02:00
Matej Sekoranja
21b54253c5 integrating security checks into the server, API fix 2014-09-11 10:56:21 +02:00