DiffusionTM Java API 6.6.0-preview.1
public interface Stream extends Callback
Callbackthat 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),
Callback.onError(ErrorReason) will be called. One of
onError will be the final callback made for a call context.
|Modifier and Type||Interface and Description|
Abstract default callback.
Copyright © 2020 Push Technology Ltd. All Rights Reserved.