File Information
Library: UPnP/GENA
Package: GENA
Header: Poco/UPnP/GENA/TransportFactory.h
Description
The TransportFactory for UPnP GENA Transport objects.
Inheritance
Direct Base Classes: Poco::RemotingNG::TransportFactory
All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::TransportFactory
Member Summary
Member Functions: createTransport, registerFactory, unregisterFactory
Inherited Functions: createTransport, duplicate, referenceCount, release
Enumerations
Anonymous
HTTP_DEFAULT_TIMEOUT = 10000000
HTTP_DEFAULT_KEEPALIVE_TIMEOUT = 8000000
Constructors
TransportFactory
Creates a TransportFactory using default settings (no persistent connections, HTTP timeout 10 seconds).
TransportFactory
TransportFactory(
const Poco::Timespan & timeout,
bool keepAlive,
const Poco::Timespan & keepAliveTimeout
);
Creates a TransportFactory using the given settings.
Destructor
~TransportFactory
~TransportFactory();
Destroys the TransportFactory.
Member Functions
createTransport
Poco::RemotingNG::Transport * createTransport();
registerFactory
static void registerFactory();
Helper function to register the factory with the manager, using default settings (no persistent connections, HTTP timeout 10 seconds).
registerFactory
static void registerFactory(
const Poco::Timespan & timeout,
bool keepAlive,
const Poco::Timespan & keepAliveTimeout
);
Helper function to register the factory with the manager, using the given settings.
unregisterFactory
static void unregisterFactory();
Helper function to unregister the factory with the manager.