Library: Remoting/SoapLite
Package: SoapLite
Header: Poco/Remoting/SoapLite/Listener.h
Direct Base Classes: Poco::Remoting::Listener
All Base Classes: Poco::Remoting::Listener
Member Functions: getTransportId, registerObject, start, stop, unregisterObject
Inherited Functions: getLocalEndPoint, getTransportId, registerObject, start, stop, unregisterObject
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(
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(
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(
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.
~Listener();
Destroys the Listener.
const std::string & getTransportId() const;
Returns the transportId.
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
);
void start();
Starts accepting requests.
See also: Poco::Remoting::Listener::start()
void stop();
Stops accepting requests.
See also: Poco::Remoting::Listener::stop()
void unregisterObject(
Poco::AutoPtr < Poco::Remoting::RemoteObject > param353
);