Package com.viam.sdk.core.webrtc
Class ClientChannel
java.lang.Object
io.grpc.Channel
com.viam.sdk.core.rpc.Channel
com.viam.sdk.core.webrtc.ClientChannel
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Optional<io.grpc.CallCredentials>
<RequestT,
ResponseT>
io.grpc.ClientCall<RequestT,ResponseT> newCall
(io.grpc.MethodDescriptor<RequestT, ResponseT> methodDescriptor, io.grpc.CallOptions callOptions) ready()
void
writeHeaders
(Grpc.Stream stream, Grpc.RequestHeaders headers) void
writeMessage
(Grpc.Stream stream, Grpc.RequestMessage msg)
-
Field Details
-
MaxStreamCount
public static final int MaxStreamCount- See Also:
-
rpcConn
-
-
Constructor Details
-
ClientChannel
-
-
Method Details
-
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 classio.grpc.Channel
-
writeHeaders
-
writeMessage
-
authority
- Specified by:
authority
in classio.grpc.Channel
-
close
public void close() -
getCallCredentials
- Specified by:
getCallCredentials
in classChannel
-