Package com.viam.service.sensors.v1
Class SensorsServiceGrpc.SensorsServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<SensorsServiceGrpc.SensorsServiceStub>
io.grpc.stub.AbstractAsyncStub<SensorsServiceGrpc.SensorsServiceStub>
com.viam.service.sensors.v1.SensorsServiceGrpc.SensorsServiceStub
- Enclosing class:
SensorsServiceGrpc
public static final class SensorsServiceGrpc.SensorsServiceStub
extends io.grpc.stub.AbstractAsyncStub<SensorsServiceGrpc.SensorsServiceStub>
A stub to allow clients to do asynchronous rpc calls to service SensorsService.
A SensorsService services keeps track of all sensors associated with a robot This service is deprecated
-
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 SensorsServiceGrpc.SensorsServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voiddoCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) Deprecated.voidgetReadings(Sensors.GetReadingsRequest request, io.grpc.stub.StreamObserver<Sensors.GetReadingsResponse> responseObserver) Deprecated.voidgetSensors(Sensors.GetSensorsRequest request, io.grpc.stub.StreamObserver<Sensors.GetSensorsResponse> responseObserver) Deprecated.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 SensorsServiceGrpc.SensorsServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<SensorsServiceGrpc.SensorsServiceStub>
-
getSensors
@Deprecated public void getSensors(Sensors.GetSensorsRequest request, io.grpc.stub.StreamObserver<Sensors.GetSensorsResponse> responseObserver) Deprecated.GetSensors returns the list of all sensors.
-
getReadings
@Deprecated public void getReadings(Sensors.GetReadingsRequest request, io.grpc.stub.StreamObserver<Sensors.GetReadingsResponse> responseObserver) Deprecated.GetReadings returns the list of readings for all sensors specified.
-
doCommand
@Deprecated public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) Deprecated.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
-