Publish/Subscribe API (Windows CE 5.0)
The following table shows the interfaces that are exposed by the Publish/Subscribe API.
Interface | Description |
---|---|
IPublisher | Provides the means for a subscriber to send control information to the publisher. A publisher implements this interface. |
IPublisherManagement | Provides the means for the subscriber service to obtain buffering settings from the publisher. The publisher implements this interface. |
IPublishSubscribeMgr | Provides the subscriber service that initiates device connections and launches publishers. This interface is the public interface for Pub/Sub. |
ISubscriber | Provides the means for a publisher to send information to a subscriber. The application that receives data from a publisher implements this interface. |
The ISubscriber and IPublisher interfaces inherit from IUnknown. The subscriber service is a proxy for the ISubscriber and IPublisher interfaces. As such, the behavior of the subscriber and the publisher can be monitored and modified by the subscriber service. The subscriber service modifies the QueryInterface method to allow the caller to receive only an IUnknown interface for an ISubscriber or IPublisher interface. Any other interface requests fail.
See Also
Publish/Subscribe Infrastructure | Publish/Subscribe Samples
Send Feedback on this topic to the authors