|
kodi
|
The PLT_CtrlPointSubscribeEventTask class is used to subscribe, renew or cancel a subscription for a given service of a given device. More...
#include <PltCtrlPointTask.h>


Public Member Functions | |
| PLT_CtrlPointSubscribeEventTask (NPT_HttpRequest *request, PLT_CtrlPoint *ctrl_point, PLT_DeviceDataReference &device, PLT_Service *service, void *userdata=NULL) | |
Public Member Functions inherited from PLT_HttpClientSocketTask | |
| PLT_HttpClientSocketTask (NPT_HttpRequest *request=NULL, bool wait_forever=false) | |
| virtual NPT_Result | AddRequest (NPT_HttpRequest *request) |
| virtual NPT_Result | SetHttpClientConfig (const NPT_HttpClient::Config &config) |
Public Member Functions inherited from PLT_ThreadTask | |
| NPT_Result | Kill () |
| When a task is not managed by a PLT_TaskManager, the owner must call this to stop and destroy it. | |
Protected Member Functions | |
| NPT_Result | ProcessResponse (NPT_Result res, const NPT_HttpRequest &request, const NPT_HttpRequestContext &context, NPT_HttpResponse *response) override |
Protected Member Functions inherited from PLT_HttpClientSocketTask | |
| void | DoAbort () override |
| This method to override in derived classes is called when the task is about to stop. | |
| void | DoRun () override |
| This method to override in derived classes is the main task loop. | |
Protected Member Functions inherited from PLT_ThreadTask | |
| virtual bool | IsAborting (NPT_Timeout timeout) |
| Return whether this task is in the process of stopping. More... | |
| NPT_Result | Start (PLT_TaskManager *task_manager=NULL, NPT_TimeInterval *delay=NULL, bool auto_destroy=true) |
| Start a task by associating it with a task manager. More... | |
| NPT_Result | Stop (bool blocking=true) |
| Stop the task. More... | |
| virtual void | DoInit () |
| This method to override in derived classes is called when the task is about to start. | |
| PLT_ThreadTask () | |
| A PLT_ThreadTask base class is never instantiated directly. | |
| ~PLT_ThreadTask () override | |
| The task manager will destroy the task when finished if m_AutoDestroy is true otherwise the owner of this task must use the Kill method. | |
Protected Attributes | |
| PLT_CtrlPoint * | m_CtrlPoint |
| PLT_Service * | m_Service |
| PLT_DeviceDataReference | m_Device |
| void * | m_Userdata |
Protected Attributes inherited from PLT_HttpClientSocketTask | |
| NPT_HttpClient | m_Client |
| bool | m_WaitForever |
| NPT_Queue< NPT_HttpRequest > | m_Requests |
Protected Attributes inherited from PLT_ThreadTask | |
| PLT_TaskManager * | m_TaskManager |
The PLT_CtrlPointSubscribeEventTask class is used to subscribe, renew or cancel a subscription for a given service of a given device.
1.8.13