CyberLink for C

cservice_notify.c File Reference

#include <cybergarage/upnp/cservice.h>
#include <cybergarage/util/clog.h>

Functions

static BOOL cg_upnp_service_notifymain (CgUpnpService *service, CgUpnpStateVariable *statVar)
BOOL cg_upnp_service_notify (CgUpnpService *service, CgUpnpStateVariable *statVar)
BOOL cg_upnp_service_notifyallbracket (CgUpnpService *service)
BOOL cg_upnp_service_notifyall (CgUpnpService *service, BOOL doBracket)
static void cg_upnp_service_notifyall_thread (CgThread *thread)
void cg_upnp_service_createnotifyallthread (CgUpnpService *service, CgSysTime waitTime)

Function Documentation

void cg_upnp_service_createnotifyallthread ( CgUpnpService *  service,
CgSysTime  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
BOOL cg_upnp_service_notify ( CgUpnpService *  service,
CgUpnpStateVariable *  statVar 
)

Send a notification of a service's changed state variable

Parameters:
serviceThe service in question
statVarThe changed state variable
BOOL cg_upnp_service_notifyall ( CgUpnpService *  service,
BOOL  doBracket 
)

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

Parameters:
serviceThe service in question
static void cg_upnp_service_notifyall_thread ( CgThread *  thread) [static]
BOOL cg_upnp_service_notifyallbracket ( CgUpnpService *  service)
static BOOL cg_upnp_service_notifymain ( CgUpnpService *  service,
CgUpnpStateVariable *  statVar 
) [static]