Re-add ServerContext::getChannelProviders()

This commit is contained in:
Michael Davidsaver
2017-06-21 15:13:58 +02:00
parent e97a24ef62
commit 8270a25791
3 changed files with 5 additions and 3 deletions
+2
View File
@@ -90,6 +90,8 @@ public:
*/
virtual Configuration::shared_pointer getCurrentConfig() = 0;
virtual const std::vector<ChannelProvider::shared_pointer>& getChannelProviders() =0;
// ************************************************************************** //
// **************************** [ Plugins ] ********************************* //
// ************************************************************************** //
+2 -2
View File
@@ -104,7 +104,7 @@ public:
* Get server newtwork (IP) address.
* @return server network (IP) address, <code>NULL</code> if not bounded.
*/
osiSockAddr* getServerInetAddress();
const osiSockAddr *getServerInetAddress();
/**
* Broadcast (UDP send) transport.
@@ -116,7 +116,7 @@ public:
* Get channel providers.
* @return channel providers.
*/
std::vector<ChannelProvider::shared_pointer>& getChannelProviders();
virtual std::vector<ChannelProvider::shared_pointer>& getChannelProviders() OVERRIDE FINAL;
/**
* Return <code>true</code> if channel provider name is provided by configuration (e.g. system env. var.).
+1 -1
View File
@@ -466,7 +466,7 @@ BeaconServerStatusProvider::shared_pointer ServerContextImpl::getBeaconServerSta
return _beaconServerStatusProvider;
}
osiSockAddr* ServerContextImpl::getServerInetAddress()
const osiSockAddr* ServerContextImpl::getServerInetAddress()
{
if(_acceptor.get())
{