viam.gen.component.powersensor.v1.powersensor_grpc

Module Contents

Classes

PowerSensorServiceBase

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

UnimplementedPowerSensorServiceBase

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

PowerSensorServiceStub

class viam.gen.component.powersensor.v1.powersensor_grpc.PowerSensorServiceBase[source]

Bases: abc.ABC

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

abstract async GetVoltage(stream: grpclib.server.Stream[component.powersensor.v1.powersensor_pb2.GetVoltageRequest, component.powersensor.v1.powersensor_pb2.GetVoltageResponse]) None[source]
abstract async GetCurrent(stream: grpclib.server.Stream[component.powersensor.v1.powersensor_pb2.GetCurrentRequest, component.powersensor.v1.powersensor_pb2.GetCurrentResponse]) None[source]
abstract async GetPower(stream: grpclib.server.Stream[component.powersensor.v1.powersensor_pb2.GetPowerRequest, component.powersensor.v1.powersensor_pb2.GetPowerResponse]) None[source]
abstract async GetReadings(stream: grpclib.server.Stream[common.v1.common_pb2.GetReadingsRequest, common.v1.common_pb2.GetReadingsResponse]) None[source]
abstract async DoCommand(stream: grpclib.server.Stream[common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse]) None[source]
__mapping__() Dict[str, grpclib.const.Handler][source]
class viam.gen.component.powersensor.v1.powersensor_grpc.UnimplementedPowerSensorServiceBase[source]

Bases: PowerSensorServiceBase

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

async GetVoltage(stream: grpclib.server.Stream[component.powersensor.v1.powersensor_pb2.GetVoltageRequest, component.powersensor.v1.powersensor_pb2.GetVoltageResponse]) None[source]
async GetCurrent(stream: grpclib.server.Stream[component.powersensor.v1.powersensor_pb2.GetCurrentRequest, component.powersensor.v1.powersensor_pb2.GetCurrentResponse]) None[source]
async GetPower(stream: grpclib.server.Stream[component.powersensor.v1.powersensor_pb2.GetPowerRequest, component.powersensor.v1.powersensor_pb2.GetPowerResponse]) None[source]
async GetReadings(stream: grpclib.server.Stream[common.v1.common_pb2.GetReadingsRequest, common.v1.common_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.component.powersensor.v1.powersensor_grpc.PowerSensorServiceStub(channel: grpclib.client.Channel)[source]