Package com.viam.component.sensor.v1
Class SensorServiceGrpc.SensorServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<SensorServiceGrpc.SensorServiceFutureStub>
io.grpc.stub.AbstractFutureStub<SensorServiceGrpc.SensorServiceFutureStub>
com.viam.component.sensor.v1.SensorServiceGrpc.SensorServiceFutureStub
- Enclosing class:
SensorServiceGrpc
public static final class SensorServiceGrpc.SensorServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<SensorServiceGrpc.SensorServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service SensorService.
SensorService services all generic sensors associated with a robot
-
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<Common.DoCommandResponse> doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandscom.google.common.util.concurrent.ListenableFuture<Common.GetGeometriesResponse> getGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationcom.google.common.util.concurrent.ListenableFuture<Common.GetReadingsResponse> getReadings(Common.GetReadingsRequest request) GetReadings returns the readings of a sensor of the underlying robot.com.google.common.util.concurrent.ListenableFuture<Common.GetStatusResponse> getStatus(Common.GetStatusRequest request) GetStatus returns the status of the resourceMethods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected SensorServiceGrpc.SensorServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SensorServiceGrpc.SensorServiceFutureStub>
-
getReadings
public com.google.common.util.concurrent.ListenableFuture<Common.GetReadingsResponse> getReadings(Common.GetReadingsRequest request) GetReadings returns the readings of a sensor of the underlying robot.
-
doCommand
public com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse> doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commands
-
getStatus
public com.google.common.util.concurrent.ListenableFuture<Common.GetStatusResponse> getStatus(Common.GetStatusRequest request) GetStatus returns the status of the resource
-
getGeometries
public com.google.common.util.concurrent.ListenableFuture<Common.GetGeometriesResponse> getGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configuration
-