Arduino DLNA Server
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
tiny_dlna::PostAliveSchedule Class Reference

Send out PostAlive messages: Repeated every 5 seconds. More...

#include <Schedule.h>

Inheritance diagram for tiny_dlna::PostAliveSchedule:
Inheritance graph
[legend]
Collaboration diagram for tiny_dlna::PostAliveSchedule:
Collaboration graph
[legend]

Public Member Functions

 PostAliveSchedule (DLNADevice &device, uint32_t repeatMs)
 
const char * name () override
 
void setRepeatMs (uint32_t ms)
 
bool process (IUDPService &udp) override
 
- Public Member Functions inherited from tiny_dlna::Schedule
 operator bool ()
 

Protected Member Functions

void setupData (const char *nt, const char *udn, char *result_nt, char *result_usn)
 
bool process (const char *nt, const char *usn, const char *device_url, int max_age, IUDPService &udp)
 

Protected Attributes

DLNADevicep_device
 

Additional Inherited Members

- Public Attributes inherited from tiny_dlna::Schedule
uint64_t time = 0
 
uint32_t repeat_ms = 0
 
uint64_t end_time = 0
 
bool active = false
 

Detailed Description

Send out PostAlive messages: Repeated every 5 seconds.

Author
Phil Schatzmann

Constructor & Destructor Documentation

◆ PostAliveSchedule()

tiny_dlna::PostAliveSchedule::PostAliveSchedule ( DLNADevice device,
uint32_t  repeatMs 
)
inline

Member Function Documentation

◆ name()

const char* tiny_dlna::PostAliveSchedule::name ( )
inlineoverridevirtual

Reimplemented from tiny_dlna::Schedule.

◆ process() [1/2]

bool tiny_dlna::PostAliveSchedule::process ( const char *  nt,
const char *  usn,
const char *  device_url,
int  max_age,
IUDPService udp 
)
inlineprotected

◆ process() [2/2]

bool tiny_dlna::PostAliveSchedule::process ( IUDPService udp)
inlineoverridevirtual

Reimplemented from tiny_dlna::Schedule.

◆ setRepeatMs()

void tiny_dlna::PostAliveSchedule::setRepeatMs ( uint32_t  ms)
inline

◆ setupData()

void tiny_dlna::PostAliveSchedule::setupData ( const char *  nt,
const char *  udn,
char *  result_nt,
char *  result_usn 
)
inlineprotected

Member Data Documentation

◆ p_device

DLNADevice* tiny_dlna::PostAliveSchedule::p_device
protected

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