Class InputControllerServiceGrpc.InputControllerServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<InputControllerServiceGrpc.InputControllerServiceFutureStub>
com.viam.component.inputcontroller.v1.InputControllerServiceGrpc.InputControllerServiceFutureStub
- Enclosing class:
- InputControllerServiceGrpc
public static final class InputControllerServiceGrpc.InputControllerServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<InputControllerServiceGrpc.InputControllerServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse>
doCommand
(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandscom.google.common.util.concurrent.ListenableFuture<InputController.GetControlsResponse>
GetControls returns a list of GetControls provided by the Controllercom.google.common.util.concurrent.ListenableFuture<InputController.GetEventsResponse>
GetEvents returns a list of events representing the last event on each control of a give Input Controllercom.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<InputController.TriggerEventResponse>
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.AbstractFutureStub
newStub, newStub
Methods 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.InputControllerServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<InputControllerServiceGrpc.InputControllerServiceFutureStub>
-
getControls
public com.google.common.util.concurrent.ListenableFuture<InputController.GetControlsResponse> getControls(InputController.GetControlsRequest request) GetControls returns a list of GetControls provided by the Controller
-
getEvents
public com.google.common.util.concurrent.ListenableFuture<InputController.GetEventsResponse> getEvents(InputController.GetEventsRequest request) GetEvents returns a list of events representing the last event on each control of a give Input Controller
-
triggerEvent
public com.google.common.util.concurrent.ListenableFuture<InputController.TriggerEventResponse> triggerEvent(InputController.TriggerEventRequest request) TriggerEvent, where supported, injects an InputControllerEvent into an input controller to (virtually) generate events like button presses or axis movements
-
doCommand
public com.google.common.util.concurrent.ListenableFuture<Common.DoCommandResponse> doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commands
-
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
-