Poco::UPnP::GENA

class StateProvider

File Information

Library: UPnP/GENA
Package: StateVariables
Header: Poco/UPnP/GENA/StateProvider.h

Description

This interface should be provided by all UPnP services supporting evented state variables. This interface will be used by the framework to obtain the current state of the service whenever a new event subscription is received.

Member Summary

Member Functions: currentState

Types

NameValuePair

typedef std::pair < std::string, std::string > NameValuePair;

StateVec

typedef std::vector < NameValuePair > StateVec;

Destructor

~StateProvider protected virtual

virtual ~StateProvider();

Member Functions

currentState virtual

virtual StateVec currentState() const = 0;

Returns a vector containing the name and value of all evented state variables.

Securely control IoT edge devices from anywhere   Connect a Device