Package io.deephaven.web.client.api.grpc
Class FetchTransport.Factory
java.lang.Object
io.deephaven.web.client.api.grpc.FetchTransport.Factory
- All Implemented Interfaces:
GrpcTransportFactory
- Enclosing class:
FetchTransport
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(GrpcTransportOptions options) Create a new transport instance.booleanReturntrueto signal that created transports may haveGrpcTransport.sendMessage(Uint8Array)called on it more than once beforeGrpcTransport.finishSend()should be called.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
getSupportsClientStreaming
public boolean getSupportsClientStreaming()Description copied from interface:GrpcTransportFactoryReturntrueto signal that created transports may haveGrpcTransport.sendMessage(Uint8Array)called on it more than once beforeGrpcTransport.finishSend()should be called.- Specified by:
getSupportsClientStreamingin interfaceGrpcTransportFactory- Returns:
trueto signal that the implementation can stream multiple messages, orfalseto indicate that Open/Next gRPC calls should be used.
-
create
Description copied from interface:GrpcTransportFactoryCreate a new transport instance.- Specified by:
createin interfaceGrpcTransportFactory- Parameters:
options- options for creating the transport- Returns:
- a transport instance to use for gRPC communication
-