Interface IStream
The extension of ICallback that allows many callbacks for each call context.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public interface IStream : ICallback
Remarks
Deprecated: Stream has only been used in IFetchStream which is now deprecated. This interface will be removed in a future release.
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), OnDiscard() will be called. One of OnClose() or OnDiscard() will be the final callback made for a call context.
Methods
OnClose()
Called to notify that a stream context was closed normally.
Declaration
void OnClose()
Remarks
No further calls will be made for the stream context.