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

Send SUBSCRIBE message via UDP unicast. More...

#include <Schedule.h>

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

Public Member Functions

 PostSubscribe (IPAddressAndPort address, const char *path, uint32_t sec)
 
const char * name () override
 
bool process (IUDPService &udp) override
 
- Public Member Functions inherited from tiny_dlna::Schedule
 operator bool ()
 

Protected Member Functions

void setDestination (IPAddressAndPort address, const char *path)
 
void setDuration (uint32_t sec)
 

Protected Attributes

IPAddressAndPort address
 
const char * path
 
int durationSec
 

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 SUBSCRIBE message via UDP unicast.

Author
Phil Schatzmann

Constructor & Destructor Documentation

◆ PostSubscribe()

tiny_dlna::PostSubscribe::PostSubscribe ( IPAddressAndPort  address,
const char *  path,
uint32_t  sec 
)
inline

Member Function Documentation

◆ name()

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

Reimplemented from tiny_dlna::Schedule.

◆ process()

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

Reimplemented from tiny_dlna::Schedule.

◆ setDestination()

void tiny_dlna::PostSubscribe::setDestination ( IPAddressAndPort  address,
const char *  path 
)
inlineprotected

◆ setDuration()

void tiny_dlna::PostSubscribe::setDuration ( uint32_t  sec)
inlineprotected

Member Data Documentation

◆ address

IPAddressAndPort tiny_dlna::PostSubscribe::address
protected

◆ durationSec

int tiny_dlna::PostSubscribe::durationSec
protected

◆ path

const char* tiny_dlna::PostSubscribe::path
protected

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