Class BasicManagedChannel

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

public class BasicManagedChannel extends Channel
  • Constructor Details

    • BasicManagedChannel

      public BasicManagedChannel(io.grpc.ManagedChannel channel)
    • BasicManagedChannel

      public BasicManagedChannel(io.grpc.ManagedChannel channel, io.grpc.CallCredentials callCreds)
  • Method Details

    • 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
    • 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