PeerInfo in pva/server.h and pva/sharedstate.h

This commit is contained in:
Michael Davidsaver
2019-01-27 19:27:40 -08:00
parent d8f9ef2557
commit 34f53c123a
7 changed files with 34 additions and 4 deletions

View File

@@ -34,7 +34,11 @@ struct PutOP : public pvas::Operation::Impl
const pvd::BitSet& changed)
:Impl(pvRequest, value, changed)
,op(op)
{}
{
pva::ChannelRequester::shared_pointer req(op->channel->getChannelRequester());
if(req)
info = req->getPeerInfo();
}
virtual ~PutOP() {}
virtual pva::Channel::shared_pointer getChannel() OVERRIDE FINAL