Poco::Remoting::JSON

class TransportFactory

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

Description

The TransportFactory for the JSON Transport.

If keepAlive is true, persistent HTTP connections are used.

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 keepAlive
);

Creates the TransportFactory for the JSON Transport, using the given parameters.

If keepAlive is true, persistent HTTP connections are used.

Destructor

~TransportFactory virtual

~TransportFactory();

Destroys the TransportFactory.

Member Functions

create

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

Creates a JSON Transport.

registerFactory static

static void registerFactory(
    bool keepHTTPSessionsAlive = false
);

Helper function to register the factory at the manager.

unregisterFactory static

static void unregisterFactory();

Helper function to unregister the factory at the manager.