viam.gen.service.sensors.v1.sensors_grpc

Classes

SensorsServiceBase

Helper class that provides a standard way to create an ABC using

UnimplementedSensorsServiceBase

Helper class that provides a standard way to create an ABC using

SensorsServiceStub

Module Contents

class viam.gen.service.sensors.v1.sensors_grpc.SensorsServiceBase[source]

Bases: abc.ABC

Helper class that provides a standard way to create an ABC using inheritance.

abstract GetSensors(stream: grpclib.server.Stream[service.sensors.v1.sensors_pb2.GetSensorsRequest, service.sensors.v1.sensors_pb2.GetSensorsResponse]) None[source]
Async:

abstract GetReadings(stream: grpclib.server.Stream[service.sensors.v1.sensors_pb2.GetReadingsRequest, service.sensors.v1.sensors_pb2.GetReadingsResponse]) None[source]
Async:

abstract DoCommand(stream: grpclib.server.Stream[common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse]) None[source]
Async:

__mapping__() Dict[str, grpclib.const.Handler][source]
class viam.gen.service.sensors.v1.sensors_grpc.UnimplementedSensorsServiceBase[source]

Bases: SensorsServiceBase

Helper class that provides a standard way to create an ABC using inheritance.

async GetSensors(stream: grpclib.server.Stream[service.sensors.v1.sensors_pb2.GetSensorsRequest, service.sensors.v1.sensors_pb2.GetSensorsResponse]) None[source]
async GetReadings(stream: grpclib.server.Stream[service.sensors.v1.sensors_pb2.GetReadingsRequest, service.sensors.v1.sensors_pb2.GetReadingsResponse]) None[source]
async DoCommand(stream: grpclib.server.Stream[common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse]) None[source]
class viam.gen.service.sensors.v1.sensors_grpc.SensorsServiceStub(channel: grpclib.client.Channel)[source]
GetSensors
GetReadings
DoCommand