Table of Contents

Interface IStream

Namespace
PushTechnology.ClientInterface.Client.Callbacks
Assembly
Diffusion.Client.dll

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

public interface IStream : ICallback
Inherited Members

Remarks

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), OnError(ErrorReason) will be called. One of OnClose() or OnError(ErrorReason) will be the final callback made for a call context.

Since 5.1

Methods

OnClose()

Notification that a stream context was closed normally.

void OnClose()

Remarks

No further calls will be made for the stream context.