UPnpNotifyTask Class Reference

#include <upnptasknotify.h>

Inheritance diagram for UPnpNotifyTask:

Task RefCounted

List of all members.


Detailed Description

Definition at line 48 of file upnptasknotify.h.


Public Member Functions

 UPnpNotifyTask (int nServicePort)
virtual QString Name ()
virtual void Execute (TaskQueue *)
QString GetNTSString ()
UPnpNotifyNTS GetNTS ()
void SetNTS (UPnpNotifyNTS nts)

Protected Member Functions

virtual ~UPnpNotifyTask ()
void ProcessDevice (QSocketDevice *pSocket, UPnpDevice *pDevice)
void SendNotifyMsg (QSocketDevice *pSocket, QString sNT, QString sUDN)

Protected Attributes

QMutex m_mutex
QString m_sMasterIP
int m_nServicePort
int m_nMaxAge
UPnpNotifyNTS m_eNTS

Constructor & Destructor Documentation

UPnpNotifyTask::~UPnpNotifyTask (  )  [protected, virtual]

Definition at line 55 of file upnptasknotify.cpp.

UPnpNotifyTask::UPnpNotifyTask ( int  nServicePort  ) 

Definition at line 43 of file upnptasknotify.cpp.


Member Function Documentation

void UPnpNotifyTask::ProcessDevice ( QSocketDevice *  pSocket,
UPnpDevice pDevice 
) [protected]

Definition at line 184 of file upnptasknotify.cpp.

Referenced by Execute().

void UPnpNotifyTask::SendNotifyMsg ( QSocketDevice *  pSocket,
QString  sNT,
QString  sUDN 
) [protected]

Definition at line 63 of file upnptasknotify.cpp.

Referenced by Execute(), and ProcessDevice().

virtual QString UPnpNotifyTask::Name ( void   )  [inline, virtual]

Implements Task.

Definition at line 73 of file upnptasknotify.h.

void UPnpNotifyTask::Execute ( TaskQueue pQueue  )  [virtual]

Implements Task.

Definition at line 139 of file upnptasknotify.cpp.

Referenced by SSDP::DisableNotifications(), and SSDP::EnableNotifications().

QString UPnpNotifyTask::GetNTSString (  )  [inline]

Definition at line 78 of file upnptasknotify.h.

Referenced by SendNotifyMsg().

UPnpNotifyNTS UPnpNotifyTask::GetNTS (  )  [inline]

Definition at line 94 of file upnptasknotify.h.

void UPnpNotifyTask::SetNTS ( UPnpNotifyNTS  nts  )  [inline]

Definition at line 105 of file upnptasknotify.h.

Referenced by SSDP::DisableNotifications(), and SSDP::EnableNotifications().


Member Data Documentation

QMutex UPnpNotifyTask::m_mutex [protected]

Reimplemented from RefCounted.

Definition at line 52 of file upnptasknotify.h.

Referenced by Execute(), GetNTS(), GetNTSString(), SendNotifyMsg(), and SetNTS().

QString UPnpNotifyTask::m_sMasterIP [protected]

Definition at line 54 of file upnptasknotify.h.

Definition at line 55 of file upnptasknotify.h.

Referenced by SendNotifyMsg(), and UPnpNotifyTask().

int UPnpNotifyTask::m_nMaxAge [protected]

Definition at line 56 of file upnptasknotify.h.

Referenced by Execute(), SendNotifyMsg(), and UPnpNotifyTask().

Definition at line 58 of file upnptasknotify.h.

Referenced by Execute(), GetNTS(), GetNTSString(), SetNTS(), and UPnpNotifyTask().


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

Generated on Sat Dec 18 05:16:13 2010 for MythTV by  doxygen 1.5.5