let pvaClientMonitor do what pvaMonitor was doing

This commit is contained in:
mrkraimer
2017-06-23 14:45:44 -04:00
parent f0efef68ea
commit 094336b5e0
5 changed files with 171 additions and 365 deletions

View File

@@ -537,7 +537,7 @@ PvaClientMonitorPtr PvaClientChannel::createMonitor(PVStructurePtr const & pvR
if(connectState!=connected) connect(5.0);
PvaClientPtr yyy = pvaClient.lock();
if(!yyy) throw std::runtime_error("PvaClient was destroyed");
return PvaClientMonitor::create(yyy,channel,pvRequest);
return PvaClientMonitor::create(yyy,shared_from_this(),pvRequest);
}
PVStructurePtr PvaClientChannel::rpc(