Class InputControllerServiceGrpc.InputControllerServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<InputControllerServiceGrpc.InputControllerServiceStub>
com.viam.component.inputcontroller.v1.InputControllerServiceGrpc.InputControllerServiceStub
- Enclosing class:
- InputControllerServiceGrpc
public static final class InputControllerServiceGrpc.InputControllerServiceStub
extends io.grpc.stub.AbstractAsyncStub<InputControllerServiceGrpc.InputControllerServiceStub>
A stub to allow clients to do asynchronous rpc calls to service InputControllerService.
InputControllerService servicestains all input controller 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) voiddoCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commandsvoidgetControls(InputController.GetControlsRequest request, io.grpc.stub.StreamObserver<InputController.GetControlsResponse> responseObserver) GetControls returns a list of GetControls provided by the ControllervoidgetEvents(InputController.GetEventsRequest request, io.grpc.stub.StreamObserver<InputController.GetEventsResponse> responseObserver) GetEvents returns a list of events representing the last event on each control of a give Input ControllervoidgetGeometries(Common.GetGeometriesRequest request, io.grpc.stub.StreamObserver<Common.GetGeometriesResponse> responseObserver) GetGeometries returns the geometries of the component in their current configurationvoidstreamEvents(InputController.StreamEventsRequest request, io.grpc.stub.StreamObserver<InputController.StreamEventsResponse> responseObserver) StreamEvents starts a stream of InputControllerEvents for the given controls (buttons/axes) on a robot's input controllervoidtriggerEvent(InputController.TriggerEventRequest request, io.grpc.stub.StreamObserver<InputController.TriggerEventResponse> responseObserver) TriggerEvent, where supported, injects an InputControllerEvent into an input controller to (virtually) generate events like button presses or axis movementsMethods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods 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 InputControllerServiceGrpc.InputControllerServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<InputControllerServiceGrpc.InputControllerServiceStub>
-
getControls
public void getControls(InputController.GetControlsRequest request, io.grpc.stub.StreamObserver<InputController.GetControlsResponse> responseObserver) GetControls returns a list of GetControls provided by the Controller
-
getEvents
public void getEvents(InputController.GetEventsRequest request, io.grpc.stub.StreamObserver<InputController.GetEventsResponse> responseObserver) GetEvents returns a list of events representing the last event on each control of a give Input Controller
-
streamEvents
public void streamEvents(InputController.StreamEventsRequest request, io.grpc.stub.StreamObserver<InputController.StreamEventsResponse> responseObserver) StreamEvents starts a stream of InputControllerEvents for the given controls (buttons/axes) on a robot's input controller
-
triggerEvent
public void triggerEvent(InputController.TriggerEventRequest request, io.grpc.stub.StreamObserver<InputController.TriggerEventResponse> responseObserver) TriggerEvent, where supported, injects an InputControllerEvent into an input controller to (virtually) generate events like button presses or axis movements
-
doCommand
public void doCommand(Common.DoCommandRequest request, io.grpc.stub.StreamObserver<Common.DoCommandResponse> responseObserver) DoCommand sends/receives arbitrary commands
-
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
-