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 Details

    • CustomTransportChannel

      public CustomTransportChannel(elemental2.dom.URL server, GrpcTransportFactory transportFactory)
  • Method Details

    • transportSupportsBidiStreaming

      protected boolean transportSupportsBidiStreaming()
      Overrides:
      transportSupportsBidiStreaming in class com.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:
      createTransport in class com.vertispan.grpc.fetch.AbstractGrpcWebChannel