Package com.viam.component.sensor.v1
Class SensorServiceGrpc.SensorServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<SensorServiceGrpc.SensorServiceBlockingStub>
io.grpc.stub.AbstractBlockingStub<SensorServiceGrpc.SensorServiceBlockingStub>
com.viam.component.sensor.v1.SensorServiceGrpc.SensorServiceBlockingStub
- Enclosing class:
SensorServiceGrpc
public static final class SensorServiceGrpc.SensorServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<SensorServiceGrpc.SensorServiceBlockingStub>
A stub to allow clients to do limited synchronous 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) doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandsgetGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationgetReadings(Common.GetReadingsRequest request) GetReadings returns the readings of a sensor of the underlying robot.getStatus(Common.GetStatusRequest request) GetStatus returns the status of the resourceMethods inherited from class io.grpc.stub.AbstractBlockingStub
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.SensorServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SensorServiceGrpc.SensorServiceBlockingStub>
-
getReadings
GetReadings returns the readings of a sensor of the underlying robot.
-
doCommand
DoCommand sends/receives arbitrary commands
-
getStatus
GetStatus returns the status of the resource
-
getGeometries
GetGeometries returns the geometries of the component in their current configuration
-