39 #ifndef _PLT_CONTROL_POINT_H_ 40 #define _PLT_CONTROL_POINT_H_ 75 virtual NPT_Result OnActionResponse(NPT_Result res,
PLT_ActionReference& action,
void* userdata) = 0;
94 PLT_CtrlPoint(
const char* search_criteria =
"upnp:rootdevice");
101 virtual NPT_Result GetPort(NPT_UInt16& port);
108 virtual void IgnoreUUID(
const char* uuid);
110 const char* target =
"upnp:rootdevice",
115 const char* target =
"ssdp:all",
119 virtual NPT_Result InspectDevice(
const NPT_HttpUrl& location,
121 NPT_TimeInterval leasetime = *PLT_Constants::GetInstance().GetDefaultDeviceLease());
125 const char* service_type,
126 const char* action_name,
129 const char* service_type,
130 const char* action_name,
133 void* userdata = NULL);
138 void* userdata = NULL);
146 NPT_Result ProcessSsdpSearchResponse(NPT_Result res,
168 virtual NPT_Result ProcessGetDescriptionResponse(NPT_Result res,
174 virtual NPT_Result ProcessGetSCPDResponse(NPT_Result res,
179 virtual NPT_Result ProcessActionResponse(NPT_Result res,
185 virtual NPT_Result ProcessSubscribeResponse(NPT_Result res,
204 NPT_Result ProcessPendingEventNotifications();
209 NPT_Result DoHouseKeeping();
Definition: PltCtrlPoint.cpp:168
Definition: NptHttp.h:566
The PLT_CtrlPointHouseKeepingTask class is used by a PLT_CtrlPoint to keep track of expired devices a...
Definition: PltCtrlPointTask.h:177
The PLT_ActionDesc class provides information about a UPnP Service given action.
Definition: PltAction.h:61
Definition: NptHttp.h:315
Definition: NptHttp.h:126
Definition: PltUPnP.cpp:69
Definition: NptHttp.h:282
The PLT_UPnP class maintains a list of devices (PLT_DeviceHost) to advertise and/or control points (P...
Definition: PltUPnP.h:68
Definition: NptHttp.h:241
The PLT_SsdpListenTask class is used to listen for incoming SSDP packets and keep track of a list of ...
Definition: PltSsdp.h:310
Definition: NptHttp.h:593
UPnP Service.
Definition: PltService.h:67
Definition: NptThreads.h:76
Definition: NptNetwork.h:74
The PLT_SsdpSearchResponseListener class is an interface for handling SSDP M-SEARCH responses...
Definition: PltSsdp.h:85
The PLT_EventNotification class represents an event notification for a given service to a given subsc...
Definition: PltEvent.h:64
The PLT_CtrlPointListener class is an interface used to receive notifications when devices are found ...
Definition: PltCtrlPoint.h:68
The PLT_SsdpPacketListener class is an interface for handling SSDP packets (M-SEARCH and NOTIFY)...
Definition: PltSsdp.h:70
Definition: PltUPnP.cpp:50
The PLT_CtrlPointSubscribeEventTask class is used to subscribe, renew or cancel a subscription for a ...
Definition: PltCtrlPointTask.h:201
The PLT_CtrlPointInvokeActionTask class is used by a PLT_CtrlPoint to invoke a specific action of a g...
Definition: PltCtrlPointTask.h:148
The PLT_CtrlPointGetSCPDRequest class is used by a PLT_CtrlPointGetSCPDsTask task to fetch a specific...
Definition: PltCtrlPointTask.h:92
The PLT_CtrlPointGetDescriptionTask class fetches the description xml document from a UPnP device...
Definition: PltCtrlPointTask.h:63
The PLT_SsdpSearchTask class is a task used by a PLT_CtrlPoint to issue a SSDP M-SEARCH request...
Definition: PltSsdp.h:361
The PLT_CtrlPointGetSCPDsTask class fetches the SCPD xml document of one or more services for a given...
Definition: PltCtrlPointTask.h:113
The PLT_ThreadTask class is a base class for executing a given task in a worker thread.
Definition: PltThreadTask.h:56
Definition: NptStrings.h:57
The PLT_CtrlPoint class implements the base functionality of a UPnP ControlPoint. ...
Definition: PltCtrlPoint.h:89