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

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

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.TopicsCompletionContextCallbackDefault< TC >:
PushTechnology.ClientInterface.Client.Features.ITopicsCompletionContextCallback< in TC > PushTechnology.ClientInterface.Client.Features.IContextCallback< in TC >

Public Member Functions

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...
 
void OnComplete (TC context)
 Callback method indicating that the requested operation has been processed by the server. More...
 

Detailed Description

Default implementation of ITopicsCompletionContextCallback{TC}.

This simply logs OnComplete calls at 'Debug' level. This method may be overridden to perform some more specific actions.

Template Parameters
TCThe context object type.

Member Function Documentation

void PushTechnology.ClientInterface.Client.Features.TopicsCompletionContextCallbackDefault< TC >.OnComplete ( TC  context)

Callback method indicating that the requested operation has been processed by the server.

Parameters
contextThe context object supplied when making the call. May be null.

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

void PushTechnology.ClientInterface.Client.Features.TopicsCompletionContextCallbackDefault< TC >.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.

Parameters
context

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


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