Package com.viam.sdk.core.webrtc
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>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.ClientCall
io.grpc.ClientCall.Listener<T extends Object>
-
Constructor Summary
ConstructorDescriptionClientStream
(io.grpc.MethodDescriptor<RequestT, ResponseT> methodDescriptor, ClientChannel channel, Grpc.Stream stream, Function<Long, Void> onDone, io.grpc.CallOptions callOptions, Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
onResponse
(Grpc.Response resp) void
request
(int numMessages) void
sendMessage
(RequestT message) void
Methods inherited from class io.grpc.ClientCall
getAttributes, isReady, setMessageCompression
-
Constructor Details
-
ClientStream
public ClientStream(io.grpc.MethodDescriptor<RequestT, ResponseT> methodDescriptor, ClientChannel channel, Grpc.Stream stream, Function<Long, Void> onDone, io.grpc.CallOptions callOptions, Logger logger)
-
-
Method Details
-
start
public void start(io.grpc.ClientCall.Listener<ResponseT> responseListener, io.grpc.Metadata headers) -
request
public void request(int numMessages) -
cancel
-
halfClose
public void halfClose() -
sendMessage
-
onResponse
-