Poco::UPnP::GENA

class RequestHandler

File Information

Library: UPnP/GENA
Package: GENA
Header: Poco/UPnP/GENA/RequestHandler.h

Description

The RemotingNG RequestHandler implementation for UPnP Eventing using GENA.

The request handler handles both event notifications and subscriptions.

Inheritance

Direct Base Classes: Poco::Net::HTTPRequestHandler

All Base Classes: Poco::Net::HTTPRequestHandler

Member Summary

Member Functions: handleNotify, handleRequest, handleSubscribe, handleUnsubscribe, sendResponse

Inherited Functions: handleRequest

Constructors

RequestHandler

RequestHandler(
    Listener & listener
);

Creates a RequestHandler, using the given Listener.

Destructor

~RequestHandler virtual

~RequestHandler();

Destroys the RequestHandler.

Member Functions

handleRequest

void handleRequest(
    Poco::Net::HTTPServerRequest & request,
    Poco::Net::HTTPServerResponse & response
);

handleNotify protected

void handleNotify(
    Poco::Net::HTTPServerRequest & request,
    Poco::Net::HTTPServerResponse & response
);

handleSubscribe protected

void handleSubscribe(
    Poco::Net::HTTPServerRequest & request,
    Poco::Net::HTTPServerResponse & response
);

handleUnsubscribe protected

void handleUnsubscribe(
    Poco::Net::HTTPServerRequest & request,
    Poco::Net::HTTPServerResponse & response
);

sendResponse protected

void sendResponse(
    Poco::Net::HTTPServerResponse & response,
    Poco::Net::HTTPResponse::HTTPStatus status
);

Securely control IoT edge devices from anywhere   Connect a Device