Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This pure virtual class contains methods that device services use to manage references to IEventSinkinterfaces that the device uses to send state variable change notifications.

Syntax

class IEventSource

Methods

The following table shows the methods in this class.

Method Description

IEventSource::Advise

Called to provide an IEventSinkreference that the service calls to notify subscribers of state variable changes.

IEventSource::Unadvise

Called to indicate that the provided IEventSinkpointer should no longer be notified of state variable changes.

Remarks

Control points call the methods in this class to register or unregister for state variable change notifications.

Devices implement these methods to store subscriber information which they then use to send state variable change notifications to control points.

The implementation of the methods in this interface provided by the UPnP AV Framework uses UPnP event subscriptions and UPnP event notifications to connect control points and device services.

All of the UPnP AV Framework service classes — IAVTransport, IConnectionManager, IContentDirectory, and IRenderingControl— implement IEventSourceand therefore accept IEventSinkreferences to which they provide state variable notifications.

Requirements

Header av_upnp.h
Library Av_upnp.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.