Diffusion .NET Client Library
6.1.5
|
The contextual callback interface for adding topics. More...
Public Member Functions | |
void | OnTopicAdded (TContext context, string topicPath) |
Called to indicate that the topic has been successfully added. More... | |
void | OnTopicAddFailed (TContext context, string topicPath, TopicAddFailReason reason) |
Called to indicate that an attempt to add a topic has failed. More... | |
Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.IContextCallback< in TContext > | |
void | OnDiscard (TContext context) |
Called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed. More... | |
The contextual callback interface for adding topics.
Use this alternative to ITopicControlAddCallback to associate some artibrary context with each call.
TContext | The context type. |
void PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlAddContextCallback< in TContext >.OnTopicAdded | ( | TContext | context, |
string | topicPath | ||
) |
Called to indicate that the topic has been successfully added.
context | The context object the application supplied when making the call or null. |
topicPath | The topic 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 | ||
) |
Called to indicate that an attempt to add a topic has failed.
context | The context object the application supplied when making the call or 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 >.