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

Default implementation of ITopicDetailsContextCallback{TC}. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.TopicDetailsContextCallbackDefault< TC >:
PushTechnology.ClientInterface.Client.Features.ITopicDetailsContextCallback< in TC > PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC >

Public Member Functions

virtual 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...
 
virtual void OnTopicDetails (TC context, string topicPath, ITopicDetails details)
 Returns a reply to a request for topic details. More...
 
virtual void OnTopicUnknown (TC context, string topicPath)
 Returned if there was a request for topic details but the topic did not exist at the server. More...
 

Detailed Description

Default implementation of ITopicDetailsContextCallback{TC}.

This simply logs OnTopicDetails calls at 'Info' level and OnTopicUnknown calls at 'Warn' level.

Methods to be implemented may be overridden as required.

Template Parameters
TCThe context object type.

Member Function Documentation

virtual void PushTechnology.ClientInterface.Client.Features.TopicDetailsContextCallbackDefault< TC >.OnDiscard ( TC  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
context

Implements PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC >.

virtual void PushTechnology.ClientInterface.Client.Features.TopicDetailsContextCallbackDefault< TC >.OnTopicDetails ( TC  context,
string  topicPath,
ITopicDetails  details 
)
virtual

Returns a reply to a request for topic details.

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

Implements PushTechnology.ClientInterface.Client.Features.ITopicDetailsContextCallback< in TC >.

virtual void PushTechnology.ClientInterface.Client.Features.TopicDetailsContextCallbackDefault< TC >.OnTopicUnknown ( TC  context,
string  topicPath 
)
virtual

Returned if there was a request for topic details but the topic did not exist at the server.

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

Implements PushTechnology.ClientInterface.Client.Features.ITopicDetailsContextCallback< in TC >.


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