viam.components.input.service

Attributes

LOGGER

Classes

InputControllerRPCService

gRPC Service for an input controller

Module Contents

viam.components.input.service.LOGGER
class viam.components.input.service.InputControllerRPCService(manager: viam.resource.manager.ResourceManager)[source]

Bases: viam.proto.component.inputcontroller.InputControllerServiceBase, viam.resource.rpc_service_base.ResourceRPCServiceBase[viam.components.input.input.Controller]

gRPC Service for an input controller

RESOURCE_TYPE
async GetControls(stream: grpclib.server.Stream[viam.proto.component.inputcontroller.GetControlsRequest, viam.proto.component.inputcontroller.GetControlsResponse]) None[source]
async GetEvents(stream: grpclib.server.Stream[viam.proto.component.inputcontroller.GetEventsRequest, viam.proto.component.inputcontroller.GetEventsResponse]) None[source]
async StreamEvents(stream: grpclib.server.Stream[viam.proto.component.inputcontroller.StreamEventsRequest, viam.proto.component.inputcontroller.StreamEventsResponse]) None[source]
async TriggerEvent(stream: grpclib.server.Stream[viam.proto.component.inputcontroller.TriggerEventRequest, viam.proto.component.inputcontroller.TriggerEventResponse]) None[source]
async DoCommand(stream: grpclib.server.Stream[viam.proto.common.DoCommandRequest, viam.proto.common.DoCommandResponse]) None[source]
async GetGeometries(stream: grpclib.server.Stream[viam.proto.common.GetGeometriesRequest, viam.proto.common.GetGeometriesResponse]) None[source]