Re-add ServerContext::getChannelProviders()
This commit is contained in:
@@ -90,6 +90,8 @@ public:
|
||||
*/
|
||||
virtual Configuration::shared_pointer getCurrentConfig() = 0;
|
||||
|
||||
virtual const std::vector<ChannelProvider::shared_pointer>& getChannelProviders() =0;
|
||||
|
||||
// ************************************************************************** //
|
||||
// **************************** [ Plugins ] ********************************* //
|
||||
// ************************************************************************** //
|
||||
|
||||
@@ -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.).
|
||||
|
||||
@@ -466,7 +466,7 @@ BeaconServerStatusProvider::shared_pointer ServerContextImpl::getBeaconServerSta
|
||||
return _beaconServerStatusProvider;
|
||||
}
|
||||
|
||||
osiSockAddr* ServerContextImpl::getServerInetAddress()
|
||||
const osiSockAddr* ServerContextImpl::getServerInetAddress()
|
||||
{
|
||||
if(_acceptor.get())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user