Interface ITopicControlAddCallback
The callback interface for adding topics.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly: Diffusion.Client.dll
Syntax
public interface ITopicControlAddCallback : ICallback
Remarks
Caution
Deprecated since 6.7. Methods that use callbacks are deprecated and will be removed in a future release. Use a Task instead.
Methods
OnTopicAdded(String)
Called to indicate that the topic has been successfully added.
Declaration
void OnTopicAdded(string topicPath)
Parameters
Type | Name | Description |
---|---|---|
String | topicPath | The topic path of the topic that was added. |
OnTopicAddFailed(String, TopicAddFailReason)
Called to indicate that an attempt to add a topic has failed.
Declaration
void OnTopicAddFailed(string topicPath, TopicAddFailReason reason)
Parameters
Type | Name | Description |
---|---|---|
String | topicPath | The topic path as supplied to the add request. |
TopicAddFailReason | reason | The reason for failure. |