TransportRegistry composed

no need for a seperate allocation and shared_ptr
This commit is contained in:
Michael Davidsaver
2017-05-31 15:48:30 +02:00
parent 3ad27665e8
commit 3fa6a4e4cc
4 changed files with 13 additions and 21 deletions
+2 -2
View File
@@ -37,7 +37,7 @@ public:
Channel::shared_pointer getChannel(pvAccessID id);
Transport::shared_pointer getSearchTransport();
Configuration::const_shared_pointer getConfiguration();
TransportRegistry::shared_pointer getTransportRegistry();
TransportRegistry* getTransportRegistry();
std::map<std::string, std::tr1::shared_ptr<SecurityPlugin> >& getSecurityPlugins();
virtual void newServerDetected();
@@ -203,7 +203,7 @@ private:
* PVA transport (virtual circuit) registry.
* This registry contains all active transports - connections to PVA servers.
*/
TransportRegistry::shared_pointer _transportRegistry;
TransportRegistry _transportRegistry;
/**
* Response handler.