Class ResponseStreamWrapper<T>
java.lang.Object
io.deephaven.web.client.api.event.HasEventHandling
io.deephaven.web.client.api.barrage.stream.ResponseStreamWrapper<T>
- Type Parameters:
T- payload that is emitted from the stream
Java wrapper to deal with the distinct ResponseStream types that are emitted. Provides strongly typed methods for
cleaner Java consumption, that can be used to represent any of the structural types that are used for grpc methods.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.deephaven.web.client.api.event.HasEventHandling
HasEventHandling.EventPair<T> -
Field Summary
FieldsFields inherited from class io.deephaven.web.client.api.event.HasEventHandling
INTERNAL_EVENT_RELEASED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()static <T> ResponseStreamWrapper<T> final voidfinal voidfinal voidfinal voidMethods inherited from class io.deephaven.web.client.api.event.HasEventHandling
addEventListener, addEventListenerOneShot, addEventListenerOneShot, failureHandled, fireCriticalEvent, fireCriticalEvent, fireEvent, fireEvent, fireEvent, hasListener, hasListeners, isSuppress, logPrefix, nextEvent, removeEventListener, suppressEvents, unsuppressEvents
-
Field Details
-
DATA_EVENT
- See Also:
-
STATUS_EVENT
- See Also:
-
END_EVENT
- See Also:
-
-
Constructor Details
-
ResponseStreamWrapper
-
-
Method Details
-
of
-
cancel
public void cancel() -
onStatus
-
onData
-
onEnd
-
onHeaders
-