Poco::Remoting::SoapLite

class TransportFactory

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

Description

The TransportFactory for the SoapLite Transport.

If enableSOAP is true, messages are serialized with SOAP 1.1 envelopes. If keepAlive is true, persistent HTTP connections are used. If prettyPrint is true, XML messages will be pretty-printed.

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 enableSOAP,
    bool keepAlive,
    bool prettyPrint = false
);

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

Destructor

~TransportFactory virtual

~TransportFactory();

Destroys the TransportFactory.

Member Functions

create

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

Creates a SoapLite Transport.

registerFactory static

static void registerFactory(
    bool enableSOAP = true,
    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.