Class InputControllerServiceGrpc.InputControllerServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<InputControllerServiceGrpc.InputControllerServiceBlockingStub>
com.viam.component.inputcontroller.v1.InputControllerServiceGrpc.InputControllerServiceBlockingStub
- Enclosing class:
- InputControllerServiceGrpc
public static final class InputControllerServiceGrpc.InputControllerServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<InputControllerServiceGrpc.InputControllerServiceBlockingStub>
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 configurationStreamEvents 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, 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.InputControllerServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
build
in classio.grpc.stub.AbstractStub<InputControllerServiceGrpc.InputControllerServiceBlockingStub>
-
getControls
GetControls returns a list of GetControls provided by the Controller
-
getEvents
GetEvents returns a list of events representing the last event on each control of a give Input Controller
-
streamEvents
public Iterator<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) TriggerEvent, where supported, injects an InputControllerEvent into an input controller to (virtually) generate events like button presses or axis movements
-
doCommand
DoCommand sends/receives arbitrary commands
-
getGeometries
GetGeometries returns the geometries of the component in their current configuration
-