Diffusion .NET API
5.9.24
|
A callback interface used to return results from a call to the server. Extensions of this interface provide the callback method or methods. More...
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... | |
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.
void PushTechnology.ClientInterface.Client.Features.ICallback.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.
Implemented in PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlRemoveCallbackDefault, PushTechnology.ClientInterface.Client.Features.Control.Topics.SubscriptionCallbackDefault, PushTechnology.ClientInterface.Client.Features.FetchStreamDefault, PushTechnology.ClientInterface.Client.Features.PingCallbackDefault, PushTechnology.ClientInterface.Client.Features.ChangePrincipalCallbackDefault, PushTechnology.ClientInterface.Client.Features.Control.Topics.SendCallbackDefault, PushTechnology.ClientInterface.Client.Features.TopicsCompletionCallbackDefault, and PushTechnology.ClientInterface.Client.Features.Control.Topics.TopicControlAddCallbackDefault.