34 #ifndef EMANETRANSPORTFACTORY_HEADER_ 35 #define EMANETRANSPORTFACTORY_HEADER_ 87 using DestroyTransportFunc = void (*)(
Transport*);
90 CreateTransportFunc createTransportFunc_;
91 DestroyTransportFunc destroyTransportFunc_;
95 #endif //EMANETRANSPORTFACTORY_HEADER_
Base class for all transports.
Transport * createTransport(NEMId nemId, PlatformServiceProvider *pPlatformService) const
Factory for creating Transports. The factory manages the DLL allowing for the creation of multiple tr...
void destoryTransport(Transport *pTransport) const
TransportFactory(const std::string &sLibraryName)