SensorsServiceBase constructor
Implementation
SensorsServiceBase() {
$addMethod($grpc.ServiceMethod<$38.GetSensorsRequest, $38.GetSensorsResponse>(
'GetSensors',
getSensors_Pre,
false,
false,
($core.List<$core.int> value) => $38.GetSensorsRequest.fromBuffer(value),
($38.GetSensorsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$38.GetReadingsRequest, $38.GetReadingsResponse>(
'GetReadings',
getReadings_Pre,
false,
false,
($core.List<$core.int> value) => $38.GetReadingsRequest.fromBuffer(value),
($38.GetReadingsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>(
'DoCommand',
doCommand_Pre,
false,
false,
($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value),
($15.DoCommandResponse value) => value.writeToBuffer()));
}