19 #ifndef __XRD_CL_TRANSPORT_MANAGER_HH__
20 #define __XRD_CL_TRANSPORT_MANAGER_HH__
27 class TransportHandler;
59 typedef std::map<std::string, TransportHandler*> HandlerMap;
60 typedef std::map<std::string, TransportFactory> FactoryMap;
62 FactoryMap pFactories;
Perform the handshake and the authentication for each physical stream.
Manage transport handler objects.
virtual ~TransportManager()
bool RegisterFactory(const std::string &protocol, TransportFactory factory)
Register a transport factory function for a given protocol.
TransportHandler * GetHandler(const std::string &protocol)
Get a transport handler object for a given protocol.
TransportManager()
Constructor.
TransportHandler *(* TransportFactory)()