Class InputControllerServiceGrpc.InputControllerServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<InputControllerServiceGrpc.InputControllerServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<InputControllerServiceGrpc.InputControllerServiceBlockingV2Stub>
com.viam.component.inputcontroller.v1.InputControllerServiceGrpc.InputControllerServiceBlockingV2Stub
- Enclosing class:
InputControllerServiceGrpc
public static final class InputControllerServiceGrpc.InputControllerServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<InputControllerServiceGrpc.InputControllerServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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) doCommand(Common.DoCommandRequest request) DoCommand sends/receives arbitrary commandsGetControls returns a list of GetControls provided by the ControllerGetEvents returns a list of events representing the last event on each control of a give Input ControllergetGeometries(Common.GetGeometriesRequest request) GetGeometries returns the geometries of the component in their current configurationio.grpc.stub.BlockingClientCall<?, InputController.StreamEventsResponse> StreamEvents starts a stream of InputControllerEvents for the given controls (buttons/axes) on a robot's input controllerTriggerEvent, 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.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 InputControllerServiceGrpc.InputControllerServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<InputControllerServiceGrpc.InputControllerServiceBlockingV2Stub>
-
getControls
public InputController.GetControlsResponse getControls(InputController.GetControlsRequest request) throws io.grpc.StatusException GetControls returns a list of GetControls provided by the Controller
- Throws:
io.grpc.StatusException
-
getEvents
public InputController.GetEventsResponse getEvents(InputController.GetEventsRequest request) throws io.grpc.StatusException GetEvents returns a list of events representing the last event on each control of a give Input Controller
- Throws:
io.grpc.StatusException
-
streamEvents
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,InputController.StreamEventsResponse> streamEvents(InputController.StreamEventsRequest request) StreamEvents starts a stream of InputControllerEvents for the given controls (buttons/axes) on a robot's input controller
-
triggerEvent
public InputController.TriggerEventResponse triggerEvent(InputController.TriggerEventRequest request) throws io.grpc.StatusException TriggerEvent, where supported, injects an InputControllerEvent into an input controller to (virtually) generate events like button presses or axis movements
- Throws:
io.grpc.StatusException
-
doCommand
public Common.DoCommandResponse doCommand(Common.DoCommandRequest request) throws io.grpc.StatusException DoCommand sends/receives arbitrary commands
- Throws:
io.grpc.StatusException
-
getGeometries
public Common.GetGeometriesResponse getGeometries(Common.GetGeometriesRequest request) throws io.grpc.StatusException GetGeometries returns the geometries of the component in their current configuration
- Throws:
io.grpc.StatusException
-