Platinum UPnP SDK
|
The PLT_SsdpSearchTask class is a task used by a PLT_CtrlPoint to issue a SSDP M-SEARCH request. More...
#include <PltSsdp.h>
Protected Member Functions | |
virtual void | DoAbort () |
This method to override in derived classes is called when the task is about to stop. | |
virtual void | DoRun () |
This method to override in derived classes is the main task loop. | |
![]() | |
PLT_ThreadTask () | |
A PLT_ThreadTask base class is never instantiated directly. | |
virtual | ~PLT_ThreadTask () |
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. | |
virtual void | DoInit () |
This method to override in derived classes is called when the task is about to start. | |
virtual bool | IsAborting (NPT_Timeout timeout) |
Return whether this task is in the process of stopping. | |
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. | |
NPT_Result | Stop (bool blocking=true) |
Stop the task. | |
Additional Inherited Members | |
![]() | |
NPT_Result | Kill () |
When a task is not managed by a PLT_TaskManager, the owner must call this to stop and destroy it. | |
The PLT_SsdpSearchTask class is a task used by a PLT_CtrlPoint to issue a SSDP M-SEARCH request.
It can be set to repeat at a certain frequencey.
|
protectedvirtual |
This method to override in derived classes is called when the task is about to stop.
Reimplemented from PLT_ThreadTask.
|
protectedvirtual |
This method to override in derived classes is the main task loop.
Reimplemented from PLT_ThreadTask.