kodi
|
The PLT_EventSubscriber class represents an event subscription for a given service from a UPnP ControlPoint. More...
#include <PltEvent.h>
Public Member Functions | |
PLT_EventSubscriber (PLT_TaskManagerReference task_manager, PLT_Service *service, const char *sid, NPT_Timeout timeout_secs=-1) | |
PLT_Service * | GetService () |
NPT_Ordinal | GetEventKey () |
NPT_Result | SetEventKey (NPT_Ordinal value) |
NPT_SocketAddress | GetLocalIf () |
NPT_Result | SetLocalIf (NPT_SocketAddress value) |
NPT_TimeStamp | GetExpirationTime () |
NPT_Result | SetTimeout (NPT_Timeout seconds=-1) |
const NPT_String & | GetSID () const |
NPT_Result | FindCallbackURL (const char *callback_url) |
NPT_Result | AddCallbackURL (const char *callback_url) |
NPT_Result | Notify (NPT_List< PLT_StateVariable *> &vars) |
Protected Attributes | |
PLT_TaskManagerReference | m_TaskManager |
PLT_Service * | m_Service |
NPT_Ordinal | m_EventKey |
PLT_HttpClientSocketTask * | m_SubscriberTask |
NPT_String | m_SID |
NPT_SocketAddress | m_LocalIf |
NPT_Array< NPT_String > | m_CallbackURLs |
NPT_TimeStamp | m_ExpirationTime |
The PLT_EventSubscriber class represents an event subscription for a given service from a UPnP ControlPoint.