MythTV  master
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
SubscriberInfo Class Reference

#include <libmythupnp/eventing.h>

Public Member Functions

 SubscriberInfo ()
 
 SubscriberInfo (const QString &url, std::chrono::seconds duration)
 
unsigned long IncrementKey ()
 

Public Attributes

TaskTime m_ttExpires {}
 
TaskTime m_ttLastNotified {}
 
QString m_sUUID
 
QUrl m_qURL
 
unsigned short m_nKey {0}
 
std::chrono::seconds m_nDuration {0s}
 

Protected Member Functions

void SetExpireTime (std::chrono::seconds secs)
 

Detailed Description

Definition at line 32 of file eventing.h.

Constructor & Destructor Documentation

◆ SubscriberInfo() [1/2]

SubscriberInfo::SubscriberInfo ( )
inline

Definition at line 35 of file eventing.h.

◆ SubscriberInfo() [2/2]

SubscriberInfo::SubscriberInfo ( const QString &  url,
std::chrono::seconds  duration 
)
inline

Definition at line 43 of file eventing.h.

Member Function Documentation

◆ IncrementKey()

unsigned long SubscriberInfo::IncrementKey ( )
inline

Definition at line 54 of file eventing.h.

Referenced by Eventing::NotifySubscriber().

◆ SetExpireTime()

void SubscriberInfo::SetExpireTime ( std::chrono::seconds  secs)
inlineprotected

Definition at line 73 of file eventing.h.

Member Data Documentation

◆ m_ttExpires

TaskTime SubscriberInfo::m_ttExpires {}

Definition at line 63 of file eventing.h.

◆ m_ttLastNotified

TaskTime SubscriberInfo::m_ttLastNotified {}

Definition at line 64 of file eventing.h.

Referenced by Eventing::NotifySubscriber().

◆ m_sUUID

QString SubscriberInfo::m_sUUID

Definition at line 66 of file eventing.h.

Referenced by Eventing::HandleSubscribe(), and Eventing::NotifySubscriber().

◆ m_qURL

QUrl SubscriberInfo::m_qURL

Definition at line 67 of file eventing.h.

Referenced by Eventing::NotifySubscriber().

◆ m_nKey

unsigned short SubscriberInfo::m_nKey {0}

Definition at line 68 of file eventing.h.

Referenced by Eventing::NotifySubscriber().

◆ m_nDuration

std::chrono::seconds SubscriberInfo::m_nDuration {0s}

Definition at line 69 of file eventing.h.

Referenced by Eventing::HandleSubscribe().


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