Arduino DLNA Server
Loading...
Searching...
No Matches
Public Attributes | List of all members
tiny_dlna::PendingNotification Struct Reference

Representation of a queued notification to be delivered later. More...

#include <SubscriptionMgrDevice.h>

Public Attributes

Subscriptionp_subscription
 
std::function< size_t(Print &, void *)> writer
 
void * ref = nullptr
 
int error_count = 0
 
int seq = 0
 

Detailed Description

Representation of a queued notification to be delivered later.

Holds a pointer to the subscription to notify and the XML change node to send. p_subscription is a non-owning pointer into the subscriptions container; code must handle the case where it becomes null (or the subscription is removed via unsubscribe). error_count tracks delivery failures and is used to drop entries after repeated errors.

Member Data Documentation

◆ error_count

int tiny_dlna::PendingNotification::error_count = 0

number of failed send attempts

◆ p_subscription

Subscription* tiny_dlna::PendingNotification::p_subscription
Initial value:
=
nullptr

non-owning pointer to Subscription

◆ ref

void* tiny_dlna::PendingNotification::ref = nullptr

opaque reference for writer

◆ seq

int tiny_dlna::PendingNotification::seq = 0

◆ writer

std::function<size_t(Print&, void*)> tiny_dlna::PendingNotification::writer

writer callback that emits the notification XML


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