IoT::WebEvent

class WebEventNotifierImpl

File Information

Library: IoT/WebEvent
Package: WebEventNotifier
Header: IoT/WebEvent/WebEventNotifierImpl.h

Description

The implementation of the WebEventNotifier interface.

Inheritance

Direct Base Classes: WebEventNotifier

All Base Classes: WebEventNotifier

Member Summary

Member Functions: clearEventFilter, notify, onEvent, setEventSubjectNameFilter, setEventSubjectRegexFilter

Inherited Functions: clearEventFilter, notify, setEventSubjectNameFilter, setEventSubjectRegexFilter

Types Aliases

Ptr

using Ptr = Poco::AutoPtr < WebEventNotifierImpl >;

Constructors

WebEventNotifierImpl

WebEventNotifierImpl(
    Poco::OSP::BundleContext::Ptr pContext
);

Creates the Device.

Destructor

~WebEventNotifierImpl virtual

~WebEventNotifierImpl();

Destroys the Device.

Member Functions

clearEventFilter virtual

void clearEventFilter(
    const std::string & subscriberURI
);

notify virtual

void notify(
    const std::string & subjectName,
    const std::string & data
);

setEventSubjectNameFilter virtual

void setEventSubjectNameFilter(
    const std::string & subscriberURI,
    const std::string & subjectName
);

setEventSubjectRegexFilter virtual

void setEventSubjectRegexFilter(
    const std::string & subscriberURI,
    const std::string & regex
);

onEvent protected

void onEvent(
    const Poco::OSP::WebEvent::WebEventService::NotificationEvent & event
);

Securely control IoT edge devices from anywhere   Connect a Device