Poco::UPnP::SOAP

class Listener

File Information

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, getAuthenticator, getAuthorizer, handlesURI, protocol, referenceCount, registerObject, release, setAuthenticator, setAuthorizer, 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
);

protocol virtual

const std::string & protocol() const;

registerObject

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

start virtual

void start();

stop virtual

void stop();

unregisterObject

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

Securely control IoT edge devices from anywhere   Connect a Device