70 const NPT_HttpRequestContext& context,
71 NPT_HttpResponse& response);
74 NPT_TimeStamp m_ReceptionTime;
75 NPT_HttpUrl m_RequestUrl;
77 NPT_Ordinal m_EventKey;
97 NPT_Timeout timeout_secs = -1);
101 NPT_Ordinal GetEventKey();
102 NPT_Result SetEventKey(NPT_Ordinal value);
103 NPT_SocketAddress GetLocalIf();
104 NPT_Result SetLocalIf(NPT_SocketAddress value);
105 NPT_TimeStamp GetExpirationTime();
106 NPT_Result SetTimeout(NPT_Timeout seconds = -1);
107 const NPT_String& GetSID()
const {
return m_SID; }
108 NPT_Result FindCallbackURL(
const char* callback_url);
109 NPT_Result AddCallbackURL(
const char* callback_url);
110 NPT_Result Notify(NPT_List<PLT_StateVariable*>& vars);
114 PLT_TaskManagerReference m_TaskManager;
116 NPT_Ordinal m_EventKey;
119 NPT_SocketAddress m_LocalIf;
120 NPT_Array<NPT_String> m_CallbackURLs;
121 NPT_TimeStamp m_ExpirationTime;
124 typedef NPT_Reference<PLT_EventSubscriber> PLT_EventSubscriberReference;
139 bool operator()(PLT_EventSubscriberReference
const & sub)
const {
140 return m_SID.Compare(sub->GetSID(),
true) ?
false :
true;
160 m_CallbackURL(callback_url) {}
162 bool operator()(PLT_EventSubscriberReference
const & sub)
const {
163 return NPT_SUCCEEDED(sub->FindCallbackURL(m_CallbackURL));
168 NPT_String m_CallbackURL;
184 bool operator()(PLT_EventSubscriberReference
const & eventSub)
const;
The PLT_HttpClientSocketTask class is the base class used to send a HTTP request asynchronously using...
Definition: PltHttpClientTask.h:58
The PLT_EventSubscriberFinderByCallbackURL class returns an instance of a PLT_EventSubscriber given i...
Definition: PltEvent.h:155
UPnP Service.
Definition: PltService.h:67
The PLT_TaskManager class maintains a list of runnable tasks.
Definition: PltTaskManager.h:60
The PLT_EventSubscriberFinderBySID class returns an instance of a PLT_EventSubscriber given its subsc...
Definition: PltEvent.h:133
The PLT_StateVariable class maintains the state of a UPnP Service state variable. ...
Definition: PltStateVariable.h:75
The PLT_EventNotification class represents an event notification for a given service to a given subsc...
Definition: PltEvent.h:64
The PLT_DeviceData class holds information about a device being advertised or found by a control poin...
Definition: PltDeviceData.h:93
The PLT_EventSubscriberFinderByService class returns an instance of a PLT_EventSubscriber given a UPn...
Definition: PltEvent.h:178
The PLT_EventSubscriber class represents an event subscription for a given service from a UPnP Contro...
Definition: PltEvent.h:91
The PLT_CtrlPoint class implements the base functionality of a UPnP ControlPoint. ...
Definition: PltCtrlPoint.h:89