Diffusion .NET API
5.9.24
|
Contextual callback interface for adding topics. More...
Public Member Functions | |
void | OnTopicAdded (TContext context, string topicPath) |
Topic has been added. More... | |
void | OnTopicAddFailed (TContext context, string topicPath, TopicAddFailReason reason) |
An attempt to add a topic has failed. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC > | |
void | OnDiscard (TC context) |
Notification that a context was closed prematurely, typically due to a timeout or the session being closed. No further calls will be made for a context. More... | |
Contextual callback interface for adding topics.
Use this alternative to ITopicControlAddCallback to associate some arbitrary context object with each call.
TContext | The context object type. |
void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlAddContextCallback< in TContext >.OnTopicAdded | ( | TContext | context, |
string | topicPath | ||
) |
Topic has been added.
context | The context object the application supplied when making the call; may be null. |
topicPath | The full path of the topic that was added. |
Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddContextCallbackDefault< TContext >.
void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlAddContextCallback< in TContext >.OnTopicAddFailed | ( | TContext | context, |
string | topicPath, | ||
TopicAddFailReason | reason | ||
) |
An attempt to add a topic has failed.
context | The context object the application supplied when making the call; may be null. |
topicPath | The topic path as supplied to the add request. |
reason | The reason for failure. |
Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddContextCallbackDefault< TContext >.