Poco::UPnP::GENA

class TransportFactory

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

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 virtual

~TransportFactory();

Destroys the TransportFactory.

Member Functions

createTransport

Poco::RemotingNG::Transport * createTransport();

registerFactory static

static void registerFactory();

Helper function to register the factory with the manager, using default settings (no persistent connections, HTTP timeout 10 seconds).

registerFactory static

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

static void unregisterFactory();

Helper function to unregister the factory with the manager.

Securely control IoT edge devices from anywhere   Connect a Device