Commit Graph

329 Commits

Author SHA1 Message Date
Michael Davidsaver 3ea8d7c71c try to resolve ambigious GUID with mingw 2017-07-04 16:33:18 +02:00
Michael Davidsaver 4fe837c9a0 add RPC loopback test 2017-07-03 19:24:01 +02:00
Michael Davidsaver a6efd7ce6a update pvlist to use RPCClient 2017-07-03 19:24:01 +02:00
Michael Davidsaver e2a40b1a54 pva client fix getField 2017-07-03 19:24:01 +02:00
Michael Davidsaver 405410660d caChannel: remove boilerplate 2017-07-03 19:24:01 +02:00
Michael Davidsaver c84d41396d pva client: reverse operation -> requester strong ref
make this a weak ref as it is more natural
that the initiator (requester) holds
a strong ref to the operation.
2017-07-03 19:24:00 +02:00
Michael Davidsaver 83ee4522ce remove necessary indirection 2017-07-03 19:24:00 +02:00
Michael Davidsaver 49d90167b4 remove boilerplate 2017-07-03 19:24:00 +02:00
Michael Davidsaver ce56ac7b1c more Channel defaults 2017-07-03 19:24:00 +02:00
Michael Davidsaver ec88dcb7d4 hide local symbols 2017-07-03 19:24:00 +02:00
Michael Davidsaver 734110eba5 remove unused 2017-07-03 19:24:00 +02:00
Michael Davidsaver 749e8d71d1 replace all internal use of getChannelProviderRegistry() 2017-07-03 19:24:00 +02:00
Michael Davidsaver 3d5696b644 compat 2017-07-03 19:23:59 +02:00
Michael Davidsaver 8b8ad08a7f minor 2017-07-03 19:23:46 +02:00
Michael Davidsaver 018858d840 add MonitorElement::Ref 2017-06-28 13:49:59 +02:00
Michael Davidsaver a3185f11da MonitorElement const and state tracking
Mark MonitorElement member pointers as const
to prevent user code from accidentally mangling.

Add 'state' tracking to help debugging
2017-06-27 15:42:27 +02:00
Michael Davidsaver 63a7649693 quiet spurious warning 2017-06-27 12:59:13 +02:00
Michael Davidsaver 4003357df6 ServerChannelImpl cleanup 2017-06-27 10:27:53 +02:00
Michael Davidsaver 8a35fbb11e reduce the number of public symbols 2017-06-26 20:17:18 +02:00
Michael Davidsaver 04c2df53a1 minor 2017-06-26 18:25:39 +02:00
Michael Davidsaver 42e12896d4 serverContext: shared_ptr debugging 2017-06-26 16:41:55 +02:00
Michael Davidsaver 49c3541204 minor 2017-06-26 16:41:14 +02:00
Michael Davidsaver d5481cc277 minor 2017-06-26 16:24:36 +02:00
Michael Davidsaver 0c02625aa5 servercontext wait for transport worker threads to finish
doing this through Transport::close()
causes deadlock in client code due to locking.
So make this an extra step.
2017-06-26 14:16:41 +02:00
Michael Davidsaver 3dca3dc38f ServerContext clear timer queue 2017-06-22 13:51:38 +02:00
Michael Davidsaver c8bdcb62de quiet spurious warning 2017-06-22 13:17:22 +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 77bf33700e default ChannelProvider::channelList 2017-06-21 19:51:30 +02:00
Michael Davidsaver 9dbefeaee3 more doc 2017-06-21 17:41:32 +02:00
Michael Davidsaver 8270a25791 Re-add ServerContext::getChannelProviders() 2017-06-21 15:13:58 +02:00
Michael Davidsaver 35d2c610bf separate ChannelProviderRegistry for client/server 2017-06-21 14:41:24 +02:00
Michael Davidsaver 46137f96bb deprecate dispose()
bad practice
2017-06-20 20:30:37 +02:00
Michael Davidsaver e7c6b83c43 add OVERRIDE FINAL to PVA client/server providers 2017-06-20 20:27:06 +02:00
Michael Davidsaver 7f625c43e3 ChannelProvider::createChannel() optional ChannelRequester 2017-06-20 19:01:22 +02:00
Michael Davidsaver 9a9896042a more doc 2017-06-20 15:33:36 +02:00
Michael Davidsaver 64b77f6da3 caProvider: start/stop with atexit 2017-06-20 11:32:15 +02:00
Michael Davidsaver dc87ee0e31 client: prevent escape of internal refs 2017-06-20 11:20:48 +02:00
Michael Davidsaver 163ab8fbd8 client context ownership
client Channels don't keep their provider alive
2017-06-20 11:06:18 +02:00
Michael Davidsaver 1d038fdba8 yet most client ref. loop breaking 2017-06-19 18:57:49 +02:00
Michael Davidsaver bb31417d4c more client ref. loop breaking 2017-06-19 16:24:11 +02:00
Michael Davidsaver c5c6510a13 avoid log spam 2017-06-19 14:28:32 +02:00
Michael Davidsaver cd722388dc fix client Channel ref leak through Context search map 2017-06-19 11:30:08 +02:00
Michael Davidsaver f610f498fa more missing virtual dtors 2017-06-19 11:16:14 +02:00
Michael Davidsaver a453dd75fe docs 2017-06-16 17:47:41 +02:00
Michael Davidsaver 3a190cb572 deprecate RPCClient::sendRequest()
Changes to provider factory registery make this
very inefficient (build a new client context of each request)
2017-06-08 20:37:20 +02:00
Michael Davidsaver 3e37781d85 update RPCClient
Addition ctor to use specific Provider (w/ custom config).
Start connect immediately.
Remove need to issueConnect()/waitConnect().
2017-06-08 20:35:43 +02:00
Michael Davidsaver fabb85c5e3 stupid typo
oops
2017-06-08 18:56:00 +02:00
Michael Davidsaver 7f4d48a176 note ref. loop in response handlers 2017-06-08 16:25:26 +02:00
Michael Davidsaver 33e842db2e boilerplate reduction 2017-06-08 16:23:15 +02:00
Michael Davidsaver 9cbc8fdea6 handle multiple ClientFactory::start() 2017-06-07 14:36:15 +02:00