Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Callbacks.IStream Interface Reference

The extension of ICallback that allows many callbacks for each call context. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Callbacks.IStream:
PushTechnology.ClientInterface.Client.Callbacks.ICallback PushTechnology.ClientInterface.Client.Callbacks.DefaultStream PushTechnology.ClientInterface.Client.Features.Control.Topics.IFilteredRequestCallback< TResponse > PushTechnology.ClientInterface.Client.Features.Control.Topics.IMissingTopicNotificationStream PushTechnology.ClientInterface.Client.Features.Control.Topics.IRequestHandler< TRequest, TResponse > PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicEventStream PushTechnology.ClientInterface.Client.Features.Control.Topics.ITopicNotificationListener PushTechnology.ClientInterface.Client.Features.IMessageStream PushTechnology.ClientInterface.Client.Features.IRequestStream< TRequest, TResponse > PushTechnology.ClientInterface.Client.Features.ITopicStream

Public Member Functions

void OnClose ()
 Notification that a stream context was closed normally. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Callbacks.ICallback
void OnError (ErrorReason errorReason)
 Notification of a contextual error related to this callback. More...
 

Detailed Description

The extension of ICallback that allows many callbacks for each call context.

The server may return zero, one, or many results for a call; each result will be supplied to one of the callback methods. When no further results are expected for the call context, OnClose will be called. If a context is closed prematurely (for example, due to the session being closed), ICallback.OnError will be called. One of OnClose or ICallback.OnError will be the final callback made for a call context.

Since 5.1

Member Function Documentation

void PushTechnology.ClientInterface.Client.Callbacks.IStream.OnClose ( )

Notification that a stream context was closed normally.

No further calls will be made for the stream context.

Implemented in PushTechnology.ClientInterface.Client.Callbacks.DefaultStream.


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