Library: UPnP/SOAP
Package: SOAP
Header: Poco/UPnP/SOAP/Listener.h
The RemotingNG Listener implementation for UPnP Control using SOAP.
Direct Base Classes: Poco::RemotingNG::Listener
All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::Listener
Member Functions: createURI, handlesURI, protocol, registerObject, start, stop, unregisterObject
Inherited Functions: createURI, duplicate, endPoint, handlesURI, protocol, referenceCount, registerObject, release, start, stop, unregisterObject
typedef Poco::AutoPtr < Listener > Ptr;
Listener(
const std::string & endPoint
);
Creates a Listener for the given endpoint, which must be in <host>:<port> format.
Note that this Listener implementation does not actually accept requests itself. It merely registers an endpoint in the ORB. The actual work of accepting and dispatching requests is done by the RequestHandler class.
~Listener();
Destroys the Listener.
std::string createURI(
const Poco::RemotingNG::Identifiable::TypeId & typeId,
const Poco::RemotingNG::Identifiable::ObjectId & objectId
);
bool handlesURI(
const std::string & uri
);
See also: Poco::RemotingNG::Listener::handlesURI()
const std::string & protocol() const;
See also: Poco::RemotingNG::Listener::protocol()
void registerObject(
Poco::RemotingNG::RemoteObject::Ptr pRemoteObject,
Poco::RemotingNG::Skeleton::Ptr pSkeleton
);
void start();
See also: Poco::RemotingNG::Listener::start()
void stop();
See also: Poco::RemotingNG::Listener::stop()
void unregisterObject(
Poco::RemotingNG::RemoteObject::Ptr pRemoteObject
);