Package io.deephaven.web.client.api.grpc
Class CustomTransportChannel
java.lang.Object
io.grpc.Channel
com.vertispan.grpc.fetch.AbstractGrpcWebChannel
io.deephaven.web.client.api.grpc.CustomTransportChannel
public class CustomTransportChannel
extends com.vertispan.grpc.fetch.AbstractGrpcWebChannel
Custom Channel that delegates to the user-provided http transport factory. The factory is reused, allowing for a
consistent, shared transport, but each gRPC call made on it can be from a unique Channel.
-
Constructor Summary
ConstructorsConstructorDescriptionCustomTransportChannel(elemental2.dom.URL server, GrpcTransportFactory transportFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vertispan.grpc.fetch.TransportcreateTransport(String method, elemental2.dom.URL url, com.vertispan.grpc.fetch.TransportCallbacks callbacks) protected booleanMethods inherited from class com.vertispan.grpc.fetch.AbstractGrpcWebChannel
authority, newCall
-
Constructor Details
-
CustomTransportChannel
-
-
Method Details
-
transportSupportsBidiStreaming
protected boolean transportSupportsBidiStreaming()- Overrides:
transportSupportsBidiStreamingin classcom.vertispan.grpc.fetch.AbstractGrpcWebChannel
-
createTransport
protected com.vertispan.grpc.fetch.Transport createTransport(String method, elemental2.dom.URL url, com.vertispan.grpc.fetch.TransportCallbacks callbacks) - Specified by:
createTransportin classcom.vertispan.grpc.fetch.AbstractGrpcWebChannel
-