Package proto.rpc.webrtc.v1
Class SignalingServiceGrpc.SignalingServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<SignalingServiceGrpc.SignalingServiceFutureStub>
proto.rpc.webrtc.v1.SignalingServiceGrpc.SignalingServiceFutureStub
- Enclosing class:
- SignalingServiceGrpc
public static final class SignalingServiceGrpc.SignalingServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<SignalingServiceGrpc.SignalingServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service SignalingService.
A SignalingService provides the means to have one client "call" another client using the Session Description Protocol (SDP).
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Signaling.CallUpdateResponse>
callUpdate
(Signaling.CallUpdateRequest request) CallUpdate is used to send additional info in relation to a Call.com.google.common.util.concurrent.ListenableFuture<Signaling.OptionalWebRTCConfigResponse>
OptionalWebRTCConfig returns any WebRTC configuration the caller may want to use.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStub
Methods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SignalingServiceGrpc.SignalingServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<SignalingServiceGrpc.SignalingServiceFutureStub>
-
callUpdate
public com.google.common.util.concurrent.ListenableFuture<Signaling.CallUpdateResponse> callUpdate(Signaling.CallUpdateRequest request) CallUpdate is used to send additional info in relation to a Call. The host of the client for the call in question should be identified in the rpc-host metadata field. In a world where https://github.com/grpc/grpc-web/issues/24 is fixed, this should be removed in favor of a bidirectional stream on Call.
-
optionalWebRTCConfig
public com.google.common.util.concurrent.ListenableFuture<Signaling.OptionalWebRTCConfigResponse> optionalWebRTCConfig(Signaling.OptionalWebRTCConfigRequest request) OptionalWebRTCConfig returns any WebRTC configuration the caller may want to use. The host to get a config for must be in the rpc-host metadata field.
-