SensorsServiceBase constructor

SensorsServiceBase()

Implementation

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