Interface Stream
- All Superinterfaces:
Callback
- All Known Subinterfaces:
AuthenticationControl.ControlAuthenticator
,ClientControl.QueueEventStream
,ClientControl.SessionEventStream
,ClientControl.SessionPropertiesStream
,Messaging.RequestHandler<T,
,R> Messaging.RequestStream<T,
,R> TopicControl.MissingTopicNotificationStream
,TopicNotifications.TopicNotificationListener
,Topics.SubscriberStream
,Topics.ValueStream<V>
- All Known Implementing Classes:
ClientControl.QueueEventStream.Default
,ClientControl.SessionEventStream.Default
,ClientControl.SessionPropertiesStream.Default
,Messaging.FilteredRequestCallback.Default
,Stream.Default
,TopicControl.MissingTopicNotificationStream.Default
,TopicNotifications.TopicNotificationListener.Default
,Topics.SubscriberStream.Default
,Topics.ValueStream.Default
An extension of
Callback
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),
Callback.onError(ErrorReason)
will be called. One of onClose
or
onError
will be the final callback made for a call context.
- Since:
- 5.1
- Author:
- DiffusionData Limited
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
onClose()
Notification that a stream context was closed normally.
-
Method Details
-
onClose
void onClose()Notification that a stream context was closed normally.No further calls will be made for the stream context.
-