Poco::Remoting::Binary

class TransportFactory

Library: Remoting/Binary
Package: Binary
Header: Poco/Remoting/Binary/TransportFactory.h

Description

TransportFactory for Binary transports

Inheritance

Direct Base Classes: Poco::Remoting::TransportFactory

All Base Classes: Poco::Remoting::TransportFactory

Member Summary

Member Functions: create, registerFactory, unregisterFactory

Inherited Functions: create

Constructors

TransportFactory

TransportFactory(
    bool lateConnect = false,
    bool reconnect = false
);

Creates the TransportFactory. if lateConnect is set to false the transport will be immediatley connected, otherwise it will be connected with the very first request. reconnect tries to re-connect the transport once it detects an connection abort

Destructor

~TransportFactory virtual

~TransportFactory();

Destroys the TransportFactory.

Member Functions

create

Poco::Remoting::Transport * create();

Creates a Binary transport

registerFactory static

static void registerFactory(
    bool lateConnect = false,
    bool reconnect = false
);

Helper function to register the factory at the manager.

unregisterFactory static

static void unregisterFactory();

Helper function to unregister the factory at the manager.