Click or drag to resize

IPublishSubscribeService Interface

Protocol publish-subscribe service. INotifyDataChanged raises events with PublishEventArgs on receiving published messages.

Namespace: Demo3D.HLE.Comms
Assembly: Demo3D.HLE (in Demo3D.HLE.dll) Version: 19.00.00
Syntax
C#
public interface IPublishSubscribeService : INotifyDataChanged

The IPublishSubscribeService type exposes the following members.

Properties
 NameDescription
Public propertyCanSubscribe Returns true if data changes can be subscribed to.
(Inherited from INotifyDataChanged)
Public propertyDataSubscribed Returns true if data changes are currently subscribed to.
(Inherited from INotifyDataChanged)
Top
Methods
 NameDescription
Public methodAddDataChanged Add a handler for the DataChanged event.
(Inherited from INotifyDataChanged)
Public methodPublish Publish a message.
Public methodPublishAsync Publish a message.
Public methodRemoveDataChanged Remove a handler from the DataChanged event.
(Inherited from INotifyDataChanged)
Public methodSubscribe Subscribe to a message filter.
Public methodSubscribeAsync Subscribe to a message filter.
Public methodUnsubscribe Unsubscribe to a message filter.
Public methodUnsubscribeAsync Unsubscribe to a message filter.
Top
Events
 NameDescription
Public eventDataChanged Occurs when data has arrived or changed.
(Inherited from INotifyDataChanged)
Top
Extension Methods
 NameDescription
Public Extension MethodCode exampleGetEventQueue Subscribes to data changed events and returns a NotifyDataChangedEventQueue.
(Defined by NotifyDataChanged)
Top
See Also