Class TopicUpdateSourceDefault
Default ITopicUpdateSource implementation.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly: Diffusion.Client.dll
Syntax
public class TopicUpdateSourceDefault : DefaultTopicTreeHandler, ITopicUpdateSource, ITopicTreeHandler
Remarks
Deprecated: The ITopicUpdateControl feature has been replaced by the ITopicUpdate feature and will be removed in a future release. The ITopicUpdate feature provides equivalent and additional functionality, such as conditional updates.
Methods
OnActive(String, ITopicUpdater)
State notification that this source is now active for the specified topic path, and is therefore in a valid state to send updates on topics at or below the registered topic path.
Declaration
public virtual void OnActive(string topicPath, ITopicUpdater updater)
Parameters
Type | Name | Description |
---|---|---|
String | topicPath | The registration path. |
ITopicUpdater | updater | An updater that may be used to update topics at or below the registered path. |
OnStandby(String)
Notification that this source is not currently allowed to provide topic updates for the specified topic path. This indicates that another update source is currently active for the given topic path.
Server policy will dictate when this update source is set to be active.
If this update source was previously in an active state, any updater instances for this topic will no longer be valid for use.
Declaration
public virtual void OnStandby(string topicPath)
Parameters
Type | Name | Description |
---|---|---|
String | topicPath | The registration path. |