Diffusion .NET API  5.9.24
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddContextCallbackDefault< TContext > Class Template Reference

A default implementation of ITopicControlAddContextCallback{TContext}. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddContextCallbackDefault< TContext >:
PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlAddContextCallback< in TContext > PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC >

Public Member Functions

virtual void OnDiscard (TContext 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...
 
virtual void OnTopicAdded (TContext context, string topicPath)
 Topic has been added. More...
 
virtual 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...
 

Detailed Description

A default implementation of ITopicControlAddContextCallback{TContext}.

Template Parameters
TContextThe context type.

Member Function Documentation

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddContextCallbackDefault< TContext >.OnDiscard ( TContext  context)
virtual

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.

Parameters
contextThe context.
virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddContextCallbackDefault< TContext >.OnTopicAdded ( TContext  context,
string  topicPath 
)
virtual

Topic has been added.

Parameters
contextThe context object the application supplied when making the call; may be null.
topicPathThe full path of the topic that was added.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlAddContextCallback< in TContext >.

virtual void PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddContextCallbackDefault< TContext >.OnTopicAddFailed ( TContext  context,
string  topicPath,
TopicAddFailReason  reason 
)
virtual

An attempt to add a topic has failed.

Parameters
contextThe context object the application supplied when making the call; may be null.
topicPathThe topic path as supplied to the add request.
reasonThe reason for failure.

Implements PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlAddContextCallback< in TContext >.


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