IEventSource (Windows CE 5.0)
This pure virtual class contains methods that device services use to manage references to IEventSink interfaces that the device uses to send state variable change notifications.
class IEventSource
Methods
The following table shows the methods in this class.
Method | Description |
---|---|
IEventSource::Advise | Called to provide an IEventSink reference that the service calls to notify subscribers of state variable changes. |
IEventSource::Unadvise | Called to indicate that the provided IEventSink pointer 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 IEventSource and therefore accept IEventSink references to which they provide state variable notifications.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Av_upnp.h.
Link Library: Av_upnp.lib.
C++ Namespace: av_upnp.
See Also
UPnP AV Interface and Implementation Classes | Eventing in the UPnP AV Framework | IAVTransport | IConnectionManager | IContentDirectory | IEventSink | IRenderingControl
Send Feedback on this topic to the authors