Class ClientStream<RequestT,ResponseT>

java.lang.Object
io.grpc.ClientCall<RequestT,ResponseT>
com.viam.sdk.core.webrtc.ClientStream<RequestT,ResponseT>

public class ClientStream<RequestT,ResponseT> extends io.grpc.ClientCall<RequestT,ResponseT>
  • Constructor Details

  • Method Details

    • start

      public void start(io.grpc.ClientCall.Listener<ResponseT> responseListener, io.grpc.Metadata headers)
      Specified by:
      start in class io.grpc.ClientCall<RequestT,ResponseT>
    • request

      public void request(int numMessages)
      Specified by:
      request in class io.grpc.ClientCall<RequestT,ResponseT>
    • cancel

      public void cancel(@Nullable String message, @Nullable Throwable cause)
      Specified by:
      cancel in class io.grpc.ClientCall<RequestT,ResponseT>
    • halfClose

      public void halfClose()
      Specified by:
      halfClose in class io.grpc.ClientCall<RequestT,ResponseT>
    • sendMessage

      public void sendMessage(RequestT message)
      Specified by:
      sendMessage in class io.grpc.ClientCall<RequestT,ResponseT>
    • onResponse

      public void onResponse(Grpc.Response resp)