xbmc
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PLT_SsdpDeviceAnnounceTask Class Reference

The PLT_SsdpDeviceAnnounceTask class is a task to send UPnP Device SSDP announcements (alive or byebye). More...

#include <PltSsdp.h>

Inheritance diagram for PLT_SsdpDeviceAnnounceTask:
Inheritance graph
[legend]
Collaboration diagram for PLT_SsdpDeviceAnnounceTask:
Collaboration graph
[legend]

Public Member Functions

 PLT_SsdpDeviceAnnounceTask (PLT_DeviceHost *device, NPT_TimeInterval repeat, bool is_byebye_first=false, bool extra_broadcast=false)
 
- 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

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.
 
virtual void DoAbort ()
 This method to override in derived classes is called when the task is about to stop.
 
 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_DeviceHostm_Device
 
NPT_TimeInterval m_Repeat
 
bool m_IsByeByeFirst
 
bool m_ExtraBroadcast
 
- Protected Attributes inherited from PLT_ThreadTask
PLT_TaskManagerm_TaskManager
 

Detailed Description

The PLT_SsdpDeviceAnnounceTask class is a task to send UPnP Device SSDP announcements (alive or byebye).

It can be setup to automatically repeat after an interval.


The documentation for this class was generated from the following files: