add RPC loopback test

This commit is contained in:
Michael Davidsaver
2017-07-03 19:19:16 +02:00
parent 3eb601c210
commit 4fe837c9a0
7 changed files with 118 additions and 7 deletions

View File

@@ -14,6 +14,7 @@
# undef epicsExportSharedSymbols
#endif
#include <pv/pvData.h>
#include <pv/valueBuilder.h>
#ifdef rpcClientEpicsExportSharedSymbols
# define epicsExportSharedSymbols
# undef rpcClientEpicsExportSharedSymbols

View File

@@ -36,7 +36,7 @@ struct RPCClient::RPCRequester : public pva::ChannelRPCRequester
POINTER_DEFINITIONS(RPCRequester);
pvd::Mutex mutex;
ChannelRPC::weak_pointer op;
ChannelRPC::shared_pointer op;
pvd::Status conn_status, resp_status;
epics::pvData::PVStructure::shared_pointer next_args, last_data;
epicsEvent event;