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

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

Inheritance diagram for PushTechnology.ClientInterface.Client.Features.IStream:
PushTechnology.ClientInterface.Client.Features.ICallback PushTechnology.ClientInterface.Client.Features.IFetchStream PushTechnology.ClientInterface.Client.Features.StreamDefault PushTechnology.ClientInterface.Client.Features.FetchStreamDefault PushTechnology.ClientInterface.Client.Features.FetchStreamDefault

Public Member Functions

void OnClose ()
 Called to notify that a stream context was closed normally. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Client.Features.ICallback
void OnDiscard ()
 Called to notify that a call context was closed prematurely, typically due to a timeout or the session being closed. 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.OnDiscard will be called. One of OnClose or ICallback.OnDiscard will be the final callback made for a call context.

Since 5.0

Member Function Documentation

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

Called to notify that a stream context was closed normally.

No further calls will be made for the stream context.

Implemented in PushTechnology.ClientInterface.Client.Features.StreamDefault.


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