server pvlist handling

This commit is contained in:
Michael Davidsaver
2019-12-18 15:53:04 -08:00
parent b9b22adb15
commit d2c4457a08
6 changed files with 142 additions and 0 deletions
+10
View File
@@ -390,6 +390,12 @@ Server::Pvt::Pvt(Config&& conf)
effective.auto_beacon = false;
});
// Add magic "server" PV
{
auto L = sourcesLock.lockWriter();
sources[std::make_pair(-1, "server")] = std::make_shared<ServerSource>(this);
}
}
Server::Pvt::~Pvt()
@@ -597,6 +603,10 @@ void Server::Pvt::doBeaconsS(evutil_socket_t fd, short evt, void *raw)
Source::~Source() {}
Source::List Source::onList() {
return Source::List{};
}
OpBase::~OpBase() {}
ChannelControl::~ChannelControl() {}