Poco::UPnP::SOAP

class Listener

Library: UPnP/SOAP
Package: SOAP
Header: Poco/UPnP/SOAP/Listener.h

Description

The RemotingNG Listener implementation for UPnP Control using SOAP.

Inheritance

Direct Base Classes: Poco::RemotingNG::Listener

All Base Classes: Poco::RefCountedObject, Poco::RemotingNG::Listener

Member Summary

Member Functions: createURI, handlesURI, protocol, registerObject, start, stop, unregisterObject

Inherited Functions: createURI, duplicate, endPoint, handlesURI, protocol, referenceCount, registerObject, release, start, stop, unregisterObject

Types

Ptr

typedef Poco::AutoPtr < Listener > Ptr;

Constructors

Listener

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.

Destructor

~Listener virtual

~Listener();

Destroys the Listener.

Member Functions

createURI

std::string createURI(
    const Poco::RemotingNG::Identifiable::TypeId & typeId,
    const Poco::RemotingNG::Identifiable::ObjectId & objectId
);

handlesURI virtual

bool handlesURI(
    const std::string & uri
);

See also: Poco::RemotingNG::Listener::handlesURI()

protocol virtual

const std::string & protocol() const;

See also: Poco::RemotingNG::Listener::protocol()

registerObject

void registerObject(
    Poco::RemotingNG::RemoteObject::Ptr pRemoteObject,
    Poco::RemotingNG::Skeleton::Ptr pSkeleton
);

start virtual

void start();

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

stop virtual

void stop();

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

unregisterObject

void unregisterObject(
    Poco::RemotingNG::RemoteObject::Ptr pRemoteObject
);