MqttDeviceManagerServiceBase constructor

MqttDeviceManagerServiceBase()

Implementation

MqttDeviceManagerServiceBase() {
  $addMethod($grpc.ServiceMethod<$7.MqttDeviceInfo, $1.OperationResponse>(
      'AddMqttDevice',
      addMqttDevice_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $7.MqttDeviceInfo.fromBuffer(value),
      ($1.OperationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.MqttDeviceInfo, $1.OperationResponse>(
      'DelMqttDevice',
      delMqttDevice_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $7.MqttDeviceInfo.fromBuffer(value),
      ($1.OperationResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.Empty, $7.MqttDeviceInfoList>(
      'GetAllMqttDevice',
      getAllMqttDevice_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
      ($7.MqttDeviceInfoList value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$7.MqttDeviceInfo, $7.MqttInfo>(
      'GenerateMqttUsernamePassword',
      generateMqttUsernamePassword_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $7.MqttDeviceInfo.fromBuffer(value),
      ($7.MqttInfo value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.Empty, $7.MqttBrokerList>(
      'GetAllMqttBrokers',
      getAllMqttBrokers_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.Empty.fromBuffer(value),
      ($7.MqttBrokerList value) => value.writeToBuffer()));
}