libUPnP  1.6.17
Data Fields
Upnp_Event_Subscribe Struct Reference

#include <upnp.h>

Data Fields

Upnp_SID Sid
int ErrCode
UpnpStringPublisherUrl
int TimeOut

Detailed Description

Returned along with a { UPNP_EVENT_SUBSCRIBE_COMPLETE} or { UPNP_EVENT_UNSUBSCRIBE_COMPLETE} callback.

Field Documentation

int Upnp_Event_Subscribe::ErrCode
UpnpString* Upnp_Event_Subscribe::PublisherUrl

The event URL being subscribed to or removed from.

Referenced by SampleUtil_PrintEvent(), ScheduleGenaAutoRenew(), and UpnpThreadDistribution().

Upnp_SID Upnp_Event_Subscribe::Sid

The SID for this subscription. For subscriptions, this only contains a valid SID if the { Upnp_EventSubscribe.result} field contains a { UPNP_E_SUCCESS} result code. For unsubscriptions, this contains the SID from which the subscription is being unsubscribed.

Referenced by GenaAutoRenewSubscription(), SampleUtil_PrintEvent(), ScheduleGenaAutoRenew(), and UpnpThreadDistribution().

int Upnp_Event_Subscribe::TimeOut

The actual subscription time (for subscriptions only).

Referenced by GenaAutoRenewSubscription(), SampleUtil_PrintEvent(), ScheduleGenaAutoRenew(), and UpnpThreadDistribution().


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