#include <cybergarage/upnp/event/cevent.h>
#include <cybergarage/upnp/event/cnotify.h>
#include <cybergarage/upnp/cupnp_limit.h>
#include <cybergarage/util/clog.h>
#include <cybergarage/util/ctime.h>
Function Documentation
Clear the contents of an event subscriber
- Todo:
- Lacks implementation (is it necessary?)
- Parameters:
-
Destroy an event subscriber
- Parameters:
-
Increment the event notify count by one
- Parameters:
-
- Returns:
- The new notify count
Check, whether a subscriber's event subscription has been expired
- Parameters:
-
- Returns:
- TRUE if the subscription has been expired; otherwise FALSE
Create a new event subscriber
Post a notification to an event subscriber. This is called in a device.
- Parameters:
-
| sub | The event subscriber |
| statVar | The evented state variable |
- Returns:
- TRUE if succesful; otherwise FALSE
Post a notification to an event subscriber. This is called in a device.
- Parameters:
-
| sub | The event subscriber |
| service | The evented service |
- Returns:
- TRUE if succesful; otherwise FALSE
Post a notification to an event subscriber. This is called in a device.
- Parameters:
-
| sub | The event subscriber |
| statVar | The evented state variable |
- Returns:
- TRUE if succesful; otherwise FALSE
Renew a subscription. Essentially sets subscription time (duration) to zero and resets notify count (== event key).
- Parameters:
-