Poco::Remoting::SoapLite

class Listener

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

Description

Listener implementation for SoapLite.

Inheritance

Direct Base Classes: Poco::Remoting::Listener

All Base Classes: Poco::Remoting::Listener

Member Summary

Member Functions: getTransportId, registerObject, start, stop, unregisterObject

Inherited Functions: getLocalEndPoint, getTransportId, registerObject, start, stop, unregisterObject

Constructors

Listener

Listener(
    std::auto_ptr < Poco::Net::HTTPServer > server
);

Creates the listener with the given HTTPServer. Note that the HTTPServer must be created with a RequestHandlerFactory that contains the RpcRequestHandler (which will handle all accesses to the URI /soap/*) and the WSDLRequestHandler

Listener

Listener(
    const std::string & portStr
);

Creates an uninitialized Listener which has the sole purpose to reserve a port entry in the ORB for an external HTTPServer. Note that the external HTTPServer must have the RpcRequestHandlerFactory as child for the path /soap

Listener

Listener(
    Poco::UInt16 port,
    bool enableSOAP = true,
    int maxQueued = 256,
    int maxThreads = 256,
    bool keepAlive = false,
    int maxKeepAliveRequests = 0
);

Creates the Listener (non-SSL port used)

Listener

Listener(
    const Poco::Net::ServerSocket & sock,
    bool enableSOAP = true,
    int maxQueued = 256,
    int maxThreads = 256,
    bool keepAlive = false,
    int maxKeepAliveRequests = 0
);

Creates the listener with the given ServerSocket. Use a Poco::Net::SecureServerSocket to enable SSL encryption.

Destructor

~Listener virtual

~Listener();

Destroys the Listener.

Member Functions

getTransportId virtual inline

const std::string & getTransportId() const;

Returns the transportId.

See also: Poco::Remoting::Listener::getTransportId()

registerObject inline

void registerObject(
    Poco::AutoPtr < Poco::Remoting::RemoteObject > param349,
    Poco::AutoPtr < Poco::Remoting::Skeleton > param350,
    const Poco::Remoting::Identifiable::ObjectId & param351,
    const Poco::Remoting::Identifiable::TypeId & param352,
    bool
);

start virtual inline

void start();

Starts accepting requests.

See also: Poco::Remoting::Listener::start()

stop virtual inline

void stop();

Stops accepting requests.

See also: Poco::Remoting::Listener::stop()

unregisterObject inline

void unregisterObject(
    Poco::AutoPtr < Poco::Remoting::RemoteObject > param353
);