Poco::RemotingNG::TCP

class TransportFactory

File Information

Library: RemotingNG/TCP
Package: TCP
Header: Poco/RemotingNG/TCP/TransportFactory.h

Description

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

Constructors

TransportFactory

TransportFactory();

Creates a TransportFactory using the default ConnectionManager instance.

TransportFactory

explicit TransportFactory(
    ConnectionManager & connectionManager
);

Creates a TransportFactory using the given ConnectionManager instance.

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 TransportFactoryManager.

registerFactory static

static void registerFactory(
    ConnectionManager & connectionManager
);

Helper function to register the factory with the TransportFactoryManager, using a specific ConnectionManager instance.

unregisterFactory static

static void unregisterFactory();

Helper function to unregister the factory with the manager.