Class BiDiStream<Req,Resp>
java.lang.Object
io.deephaven.web.client.api.barrage.stream.BiDiStream<Req,Resp>
- Type Parameters:
Req- the request message typeResp- the response message type
Single interface to interact with real bidi streams, or emulate them using Open/Next methods.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRepresents a fully bidi capable stream.static classstatic interfaceWhen bidi streams are not supported, this factory represents the ability to send streaming client messages to the server, and have them handled as if they were part of the original stream.static interfaceWhen bidi streams are not supported, this factory represents a server-streaming call, for server messages to be delivered to the client. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BiDiStream
public BiDiStream()
-
-
Method Details
-
send
-
cancel
public abstract void cancel() -
end
public abstract void end() -
onData
-
onStatus
-
onEnd
-
onHeaders
-