Commit Graph
473 Commits
Author SHA1 Message Date
Michael Davidsaver 3b565d0c56 server GetField ensure no duplicate reply 2017-11-06 16:48:34 -06:00
Michael Davidsaver 84a0729bcf minor 2017-11-06 16:27:52 -06:00
Michael Davidsaver c469d49ecb server: keep most recent GetFieldRequester alive 2017-11-06 16:27:43 -06:00
Michael Davidsaver 0ec4e16373 skip unnecessary static_pointer_casts 2017-11-06 16:12:13 -06:00
Michael Davidsaver 576b241faa consolidate TransportClient and ChannelImpl as ClientChannelImpl 2017-11-06 15:51:43 -06:00
Michael Davidsaver 7118e34222 merge DataResponse into ResponseRequest
DataResponse is only sub-"interface"/class of ResponseRequest.
2017-11-06 15:26:05 -06:00
Michael Davidsaver 3154e3431e consolidate SubscriptionRequest with BaseRequestImpl
"interface" with a single implementation.
combine and de-virtualize
2017-11-06 15:22:09 -06:00
Michael Davidsaver 073c77b1ef consolidate ServerChannel and ServerChannelImpl
"interface" with a single implementation.
combine and de-virtualize.
2017-11-06 15:14:41 -06:00
Michael Davidsaver 46df4c07ca cleanup ServerChannelImpl
const-ify and remove descriptive comments
2017-11-06 14:58:15 -06:00
Michael Davidsaver 5f78671b36 compose ServerResponseHandler 2017-11-06 14:47:10 -06:00
Michael Davidsaver 1d7f15de25 combine AbstractResponseHandler and ResponseHandler 2017-11-06 14:27:46 -06:00
Michael Davidsaver 3071a06000 cleanup server response handlers
avoid unnecessary dynamic_cast and ref. counter activity
2017-11-06 14:07:02 -06:00
Michael Davidsaver aaef110507 eliminate ChannelHostingTransport
an "interface" used once.  Drop it and de-virtualize.
2017-11-06 13:41:58 -06:00
Michael Davidsaver dcb74b781d be explicit about epics::auto_ptr 2017-11-06 12:46:13 -06:00
Michael Davidsaver 9bf03fbfbe no more returning auto_ptr 2017-11-06 12:44:36 -06:00
Michael Davidsaver 0fde239f23 std::auto_ptr -> epics::auto_ptr 2017-11-06 12:37:42 -06:00
Michael Davidsaver f91b593aea no need to dllexport inline class w/o virtuals 2017-11-06 11:02:08 -06:00
Michael Davidsaver 161280220e avoid std::min 2017-11-06 10:57:09 -06:00
Michael Davidsaver 7b301c4c98 pvasr() call Channel::printInfo() 2017-11-05 17:26:52 -06:00
Michael Davidsaver 8d5c27143b pvasr list client channels 2017-11-05 17:11:28 -06:00
Michael Davidsaver 49173ec884 disable pvAccessMB and unused ref-counting boilerplate 2017-11-05 16:54:10 -06:00
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 47332fdf90 server status reporting via iocsh 2017-11-05 15:59:01 -06:00
Michael Davidsaver dc99e2ae4c add ChannelProviderRegistry::addSingleton()
Helper for providers of singleton resources.
Useful for process-wide resources like the PDB.
2017-11-05 12:22:39 -06:00
Michael Davidsaver 5f96f5722e pvac: client monitor locking 2017-11-05 12:19:10 -06:00
Michael Davidsaver 7ca0688326 second destroy() is a no-op 2017-11-01 14:17:55 -05:00
Michael Davidsaver e7c7d28339 add PVACommonRegister.dbd and iocreftrack.h
Allow use reftrack iocsh commands
w/o pulling in server (or client) singleton,
or including any .dbd (for P2P).
2017-11-01 14:17:55 -05:00
mrkraimer 84976121d3 remove obsolete reference counting 2017-10-10 10:09:49 -04:00
mrkraimer adcf13f02f Merge https://github.com/epics-base/pvAccessCPP 2017-10-10 09:00:14 -04:00
Michael Davidsaver 393ac72785 minor doc 2017-10-05 15:33:48 +02:00
Michael Davidsaver 60c97c3e88 drop MBLIB 2017-10-05 11:10:27 +02:00
Michael Davidsaver e14b811b53 install CONFIG_PVA_CORE 2017-10-05 11:00:01 +02:00
mrkraimer 303536401f Merge https://github.com/epics-base/pvAccessCPP 2017-10-04 10:54:28 -04:00
Michael Davidsaver 4eb8856a00 pvac: fix MonitorSync method name collision 2017-09-30 14:22:25 -05:00
Michael Davidsaver b806b7ca42 pvac: generalize sync. put() 2017-09-30 13:54:59 -05:00
mrkraimer 35edb7346f Merge https://github.com/epics-base/pvAccessCPP 2017-09-30 10:40:48 -04:00
Michael Davidsaver 9460fab294 pvac: ClientProvider ctor from ChannelProvider 2017-09-29 16:22:19 -05:00
Michael Davidsaver b1444b6192 client: fix monitor crash on type change 2017-09-29 15:23:14 -05:00
Michael Davidsaver 0a9797f962 detect type change bug 2017-09-28 16:48:16 -05:00
Michael Davidsaver 25c7da43f2 pvac: better Requester names
pass through the client name (aka the channel name)
2017-09-06 13:49:46 -05:00
Michael Davidsaver 5137b90f56 minor client message handling
avoid unnecessary dynamic_cast
2017-09-06 13:49:24 -05:00
mrkraimer db0b8561c4 Merge https://github.com/epics-base/pvAccessCPP
Get up to date with epics-base
2017-09-06 14:07:23 -04:00
mrkraimer 39c8eb90e0 remove more code for destroy 2017-09-06 14:06:41 -04:00
Michael Davidsaver 8a24f9cd9c Channel::createChannelProcess default ensure process=true 2017-09-06 12:48:03 -05:00
Michael Davidsaver 90394f788e minor 2017-09-06 12:37:42 -05:00
Michael Davidsaver 90e8276758 fixup point to point interface handling.
with bcast interfaces, send searches to bcast address
and !WIN32 binds bcast address to receive searches.

with point to point, send searches to dest address.
can't bind dest address (not local).

quiets spurious error message:

> Error binding socket: Cannot assign requested address.

Encountered with a P2P link setup by openvpn.
2017-09-06 10:38:20 -05:00
Michael Davidsaver 9bf307712b improve UDP bind error 2017-09-06 09:52:53 -05:00
Michael Davidsaver 33fb103a4b defaults ChanneGet/Process use ChannelPut
provide default implementations of
Channel::createChannelGet() and Channel::createChannelProcess()
which proxy to Channel::createChannelPut().

Get uses ChannelPut::get().
Process uses ChannelPut::put() with an empty bit set (no data)
2017-09-05 15:45:36 -05:00
mrkraimer a652086e91 channelGet, etc now have shared_ptr to Channel 2017-09-05 06:01:43 -04:00
Michael Davidsaver e8adc57897 getBroadcastAddresses oops 2017-09-02 10:22:08 -05:00