Class ClientChannel

java.lang.Object
io.grpc.Channel
com.viam.sdk.core.rpc.Channel
com.viam.sdk.core.webrtc.ClientChannel

public class ClientChannel extends Channel
  • Field Details

  • Constructor Details

  • Method Details

    • ready

      public CompletableFuture<Void> ready()
    • newCall

      public <RequestT, ResponseT> io.grpc.ClientCall<RequestT,ResponseT> newCall(io.grpc.MethodDescriptor<RequestT,ResponseT> methodDescriptor, io.grpc.CallOptions callOptions)
      Specified by:
      newCall in class io.grpc.Channel
    • writeHeaders

      public void writeHeaders(Grpc.Stream stream, Grpc.RequestHeaders headers)
    • writeMessage

      public void writeMessage(Grpc.Stream stream, Grpc.RequestMessage msg)
    • authority

      public String authority()
      Specified by:
      authority in class io.grpc.Channel
    • close

      public void close()
      Specified by:
      close in class Channel
    • getCallCredentials

      public Optional<io.grpc.CallCredentials> getCallCredentials()
      Specified by:
      getCallCredentials in class Channel