4 #include <pv/serverContext.h>
10 public epics::pvAccess::ChannelProvider,
11 public epics::pvAccess::ChannelFind,
12 public std::tr1::enable_shared_from_this<GWServerChannelProvider>
17 virtual std::tr1::shared_ptr<ChannelProvider> getChannelProvider();
19 virtual void cancel() {}
21 virtual std::string getProviderName() {
25 virtual epics::pvAccess::ChannelFind::shared_pointer channelFind(std::string
const & channelName,
26 epics::pvAccess::ChannelFindRequester::shared_pointer
const & channelFindRequester);
28 using epics::pvAccess::ChannelProvider::createChannel;
29 virtual epics::pvAccess::Channel::shared_pointer createChannel(std::string
const & channelName,
30 epics::pvAccess::ChannelRequester::shared_pointer
const & channelRequester,
31 short priority, std::string
const & addressx);
32 virtual void destroy();
41 epics::pvData::PVStructure::shared_pointer conf;
43 typedef std::map<std::string, GWServerChannelProvider::shared_pointer> clients_t;
46 typedef std::map<std::string, epics::pvAccess::ServerContext::shared_pointer> servers_t;
51 void drop(
const char *client,
const char *channel);
52 void status_server(
int lvl,
const char *server);
53 void status_client(
int lvl,
const char *client,
const char *channel);