Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddCallbackDefault Class Reference

The default ITopicControlAddCallback implementation. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddCallbackDefault:
PushTechnology.ClientInterface.Client.Features.CallbackDefault PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlAddCallback PushTechnology.ClientInterface.Client.Features.ICallback PushTechnology.ClientInterface.Client.Features.ICallback

Public Member Functions

virtual void OnTopicAdded (string topicPath)
 Called to indicate that the topic has been successfully added. More...
 
virtual void OnTopicAddFailed (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.CallbackDefault
virtual void OnDiscard ()
 Called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed. More...
 

Detailed Description

The default ITopicControlAddCallback implementation.

This simply logs OnTopicAdded calls at 'debug' level and OnTopicAddFailed calls at 'warn' level. This can be overridden to perform some more specific action.

Member Function Documentation

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddCallbackDefault.OnTopicAdded ( string  topicPath)
virtual

Called to indicate that the topic has been successfully added.

Parameters
topicPathThe topic path of the topic that was added.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlAddCallback.

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddCallbackDefault.OnTopicAddFailed ( string  topicPath,
TopicAddFailReason  reason 
)
virtual

Called to indicate that an attempt to add a topic has failed.

Parameters
topicPathThe topic path as supplied to the add request.
reasonThe reason for failure.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlAddCallback.


The documentation for this class was generated from the following file: