Package com.viam.component.sensor.v1
Class SensorServiceGrpc.SensorServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<SensorServiceGrpc.SensorServiceStub>
io.grpc.stub.AbstractAsyncStub<SensorServiceGrpc.SensorServiceStub>
com.viam.component.sensor.v1.SensorServiceGrpc.SensorServiceStub
- Enclosing class:
SensorServiceGrpc
public static final class SensorServiceGrpc.SensorServiceStub
extends io.grpc.stub.AbstractAsyncStub<SensorServiceGrpc.SensorServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionprotected SensorServiceGrpc.SensorServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voiddoCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsvoidgetGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationvoidgetReadings(Common.GetReadingsRequest request, io.grpc.stub.StreamObserver<Common.GetReadingsResponse> responseObserver) GetReadings returns the readings of a sensor of the underlying robot.voidgetStatus(Common.GetStatusRequest request, io.grpc.stub.StreamObserver<Common.GetStatusResponse> responseObserver) GetStatus returns the status of the resourceMethods inherited from class io.grpc.stub.AbstractAsyncStub
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.SensorServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SensorServiceGrpc.SensorServiceStub>
-
getReadings
public void getReadings(Common.GetReadingsRequest request, io.grpc.stub.StreamObserver<Common.GetReadingsResponse> responseObserver) GetReadings returns the readings of a sensor of the underlying robot.
-
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-
getStatus
public void getStatus(Common.GetStatusRequest request, io.grpc.stub.StreamObserver<Common.GetStatusResponse> responseObserver) GetStatus returns the status of the resource
-
getGeometries
public void getGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configuration
-