Package proto.stream.v1
Class StreamServiceGrpc.StreamServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<StreamServiceGrpc.StreamServiceBlockingStub>
proto.stream.v1.StreamServiceGrpc.StreamServiceBlockingStub
- Enclosing class:
- StreamServiceGrpc
public static final class StreamServiceGrpc.StreamServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<StreamServiceGrpc.StreamServiceBlockingStub>
A stub to allow clients to do synchronous rpc calls to service StreamService.
A StreamService is used to coordinate with a WebRTC the listing, addition, and removal of registered video streams. TODO(https://github.com/viamrobotics/rdk/issues/509): support removal
-
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 TypeMethodDescriptionaddStream
(Stream.AddStreamRequest request) AddStream requests a particular stream be added.build
(io.grpc.Channel channel, io.grpc.CallOptions callOptions) GetStreamOptions returns the options for a particular stream.listStreams
(Stream.ListStreamsRequest request) ListStreams returns all streams registered.removeStream
(Stream.RemoveStreamRequest request) RemoveStream requests a particular stream be removed.SetStreamOptions sets the options for a particular stream.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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 StreamServiceGrpc.StreamServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<StreamServiceGrpc.StreamServiceBlockingStub>
-
listStreams
ListStreams returns all streams registered.
-
addStream
AddStream requests a particular stream be added.
-
getStreamOptions
GetStreamOptions returns the options for a particular stream.
-
setStreamOptions
SetStreamOptions sets the options for a particular stream.
-
removeStream
RemoveStream requests a particular stream be removed. If the calling client is the last to be receiving the stream, it will attempt to be stopped to conserve resources.
-