Class TopicUpdateContextCallbackDefault<TC>
Default context callback implementation.
Implements
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Topics
Assembly: Diffusion.Client.dll
Syntax
public class TopicUpdateContextCallbackDefault<TC> : object, ITopicUpdateContextCallback<TC>
Type Parameters
Name | Description |
---|---|
TC | The context type. |
Methods
OnError(String, TopicSourceErrorDetails, TC)
Notifies a failed update.
Declaration
public virtual void OnError(string topicPath, TopicSourceErrorDetails error, TC context)
Parameters
Type | Name | Description |
---|---|---|
String | topicPath | The topic path the update was for. |
TopicSourceErrorDetails | error | The update error. |
TC | context | The context object that the update was called with. |
OnSuccess(String, TC)
Indicates a successful update.
Declaration
public virtual void OnSuccess(string topicPath, TC context)
Parameters
Type | Name | Description |
---|---|---|
String | topicPath | The topic path the update was for. |
TC | context | The context object that the update was called with. |