mUPnP for C
service_notify.c File Reference
#include <mupnp/service.h>
#include <mupnp/util/log.h>

Functions

static bool mupnp_service_notifymain (mUpnpService *service, mUpnpStateVariable *statVar)
 
bool mupnp_service_notify (mUpnpService *service, mUpnpStateVariable *statVar)
 
bool mupnp_service_notifyallbracket (mUpnpService *service)
 
bool mupnp_service_notifyall (mUpnpService *service, bool doBracket)
 
static void mupnp_service_notifyall_thread (mUpnpThread *thread)
 
void mupnp_service_createnotifyallthread (mUpnpService *service, mUpnpTime waitTime)
 

Function Documentation

◆ mupnp_service_createnotifyallthread()

void mupnp_service_createnotifyallthread ( mUpnpService * service,
mUpnpTime waitTime )

Create a new thread to send a notification message to all of the service's subscribers

Parameters
serviceThe service in question
waitTimeThe wait time to send

◆ mupnp_service_notify()

bool mupnp_service_notify ( mUpnpService * service,
mUpnpStateVariable * statVar )

Send a notification of a service's changed state variable

Parameters
serviceThe service in question
statVarThe changed state variable

◆ mupnp_service_notifyall()

bool mupnp_service_notifyall ( mUpnpService * service,
bool doBracket )

Send a notification message to all of the service's subscribers

Parameters
serviceThe service in question

◆ mupnp_service_notifyall_thread()

static void mupnp_service_notifyall_thread ( mUpnpThread * thread)
static

◆ mupnp_service_notifyallbracket()

bool mupnp_service_notifyallbracket ( mUpnpService * service)

◆ mupnp_service_notifymain()

static bool mupnp_service_notifymain ( mUpnpService * service,
mUpnpStateVariable * statVar )
static