Class BrowserStream<T>
java.lang.Object
io.deephaven.server.browserstreaming.BrowserStream<T>
- All Implemented Interfaces:
Closeable
,AutoCloseable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Creates a BrowserStream based on the current session and the observed passed in to the open stream call.static enum
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static <ReqT,
RespT>
BrowserStream.Factory<ReqT,RespT> factory
(BrowserStream.Mode mode, GrpcServiceOverrideBuilder.BidiDelegate<ReqT, RespT> bidiDelegate) Builds a BrowserStream factory based on the given mode and bidirectional stream method.void
void
onMessageReceived
(T message, StreamData streamData)
-
Method Details
-
factory
public static <ReqT,RespT> BrowserStream.Factory<ReqT,RespT> factory(BrowserStream.Mode mode, GrpcServiceOverrideBuilder.BidiDelegate<ReqT, RespT> bidiDelegate) Builds a BrowserStream factory based on the given mode and bidirectional stream method. -
onMessageReceived
-
onError
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-