Arduino DLNA Server
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
tiny_dlna::MSearchReplySchedule Class Reference

Answer from device to MSearch request by sending the related replies. More...

#include <Schedule.h>

Inheritance diagram for tiny_dlna::MSearchReplySchedule:
Inheritance graph
[legend]

Public Member Functions

 MSearchReplySchedule (DLNADeviceInfo &device, IPAddressAndPort addr)
 
const char * name () override
 
bool process (IUDPService &udp) override
 
bool isValid () override
 
 operator bool ()
 

Public Attributes

Str search_target
 
DLNADeviceInfop_device
 
int mx = 0
 
uint64_t time = 0
 
uint32_t repeat_ms = 0
 
uint64_t end_time = 0
 
bool active = false
 
IPAddressAndPort address
 
bool report_ip = false
 

Protected Member Functions

bool isValidIP ()
 check netmask
 
bool isValidSearchTarget (DLNADeviceInfo &device, const char *search_target)
 
bool sendReply (IUDPService &udp, DLNADeviceInfo &device, const char *target, const char *udn)
 

Protected Attributes

int max_age = MAX_AGE
 

Detailed Description

Answer from device to MSearch request by sending the related replies.

Author
Phil Schatzmann

Constructor & Destructor Documentation

◆ MSearchReplySchedule()

tiny_dlna::MSearchReplySchedule::MSearchReplySchedule ( DLNADeviceInfo device,
IPAddressAndPort  addr 
)
inline

Member Function Documentation

◆ isValid()

bool tiny_dlna::MSearchReplySchedule::isValid ( )
inlineoverridevirtual

Reimplemented from tiny_dlna::Schedule.

◆ isValidIP()

bool tiny_dlna::MSearchReplySchedule::isValidIP ( )
inlineprotected

check netmask

◆ isValidSearchTarget()

bool tiny_dlna::MSearchReplySchedule::isValidSearchTarget ( DLNADeviceInfo device,
const char *  search_target 
)
inlineprotected

◆ name()

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

Reimplemented from tiny_dlna::Schedule.

◆ operator bool()

tiny_dlna::Schedule::operator bool ( )
inlineinherited

◆ process()

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

Reimplemented from tiny_dlna::Schedule.

◆ sendReply()

bool tiny_dlna::MSearchReplySchedule::sendReply ( IUDPService udp,
DLNADeviceInfo device,
const char *  target,
const char *  udn 
)
inlineprotected

Member Data Documentation

◆ active

bool tiny_dlna::Schedule::active = false
inherited

◆ address

IPAddressAndPort tiny_dlna::Schedule::address
inherited

◆ end_time

uint64_t tiny_dlna::Schedule::end_time = 0
inherited

◆ max_age

int tiny_dlna::MSearchReplySchedule::max_age = MAX_AGE
protected

◆ mx

int tiny_dlna::MSearchReplySchedule::mx = 0

◆ p_device

DLNADeviceInfo* tiny_dlna::MSearchReplySchedule::p_device

◆ repeat_ms

uint32_t tiny_dlna::Schedule::repeat_ms = 0
inherited

◆ report_ip

bool tiny_dlna::Schedule::report_ip = false
inherited

◆ search_target

Str tiny_dlna::MSearchReplySchedule::search_target

◆ time

uint64_t tiny_dlna::Schedule::time = 0
inherited

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