Diffusion .NET API  5.9.24
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Features.ICallback Interface Reference

A callback interface used to return results from a call to the server. Extensions of this interface provide the callback method or methods. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.ICallback:
PushTechnology.ClientInterface.Client.Features.Control.Clients.IClientCallback PushTechnology.ClientInterface.Client.Features.Control.Clients.ISessionDetailsCallback PushTechnology.ClientInterface.Client.Features.Control.Topics.ISubscriptionCallback PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlAddCallback PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicControlRemoveCallback PushTechnology.ClientInterface.Client.Features.IChangePrincipalCallback PushTechnology.ClientInterface.Client.Features.IPingCallback PushTechnology.ClientInterface.Client.Features.ISendCallback PushTechnology.ClientInterface.Client.Features.IStream PushTechnology.ClientInterface.Client.Features.ITopicDetailsCallback PushTechnology.ClientInterface.Client.Features.ITopicsCompletionCallback

Public Member Functions

void OnDiscard ()
 This is called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed. No further calls will be made for the context. More...
 

Detailed Description

A callback interface used to return results from a call to the server. Extensions of this interface provide the callback method or methods.

Direct extensions of this interface support a single callback each time the callback is used in a call (the context). If the call fails to return a result, for example if the session is closed or the operation times out, OnDiscard will be called. Each call to the server will result in invocation of either a single callback method or OnDiscard.

If the server returns a response for an unknown call context (typically a late response for a call context has timed out), an error will be reported to the session error handler.

Member Function Documentation


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