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

@@ -17,6 +17,7 @@
#define epicsExportSharedSymbols
#include "pva/server.h"
#include "pv/pvAccess.h"
#include "pv/security.h"
#include "pv/reftrack.h"
namespace pvd = epics::pvData;
@@ -216,8 +217,9 @@ struct DynamicProvider::Impl : public pva::ChannelProvider
{
bool found = false;
{
pva::PeerInfo::const_shared_pointer info(requester->getPeerInfo());
search_type search;
search.push_back(DynamicProvider::Search(name));
search.push_back(DynamicProvider::Search(name, info ? info.get() : 0));
handler->hasChannels(search);