Poco::OSP

class SystemEvents

File Information

Library: OSP
Package: Core
Header: Poco/OSP/SystemEvents.h

Description

This class provides various events that interested parties can subscribe to to become notified whenever the state of the OSP system changes.

Normally, these events are fired by the OSPSubsystem class. An application not using the OSPSubsystem class has to provide an instance of this class itself and fire these events at the appropriate time.

Enumerations

EventKind

EV_SYSTEM_STARTED

EV_SYSTEM_SHUTTING_DOWN

Constructors

SystemEvents

SystemEvents();

Creates a SystemEvents object.

Destructor

~SystemEvents

~SystemEvents();

Destroys the SystemEvents object.

Variables

systemShuttingDown

Poco::BasicEvent < EventKind > systemShuttingDown;

Fired before the OSP environment is shut down.

systemStarted

Poco::BasicEvent < EventKind > systemStarted;

Fired after the OSP environment has been initialized and all bundles have been started.

Securely control IoT edge devices from anywhere   Connect a Device