UtilsServiceBase constructor

UtilsServiceBase()

Implementation

UtilsServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.IoTManagerServerAndToken,
          $0.OpenIoTHubOperationResponse>(
      'SyncConfigWithToken',
      syncConfigWithToken_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.IoTManagerServerAndToken.fromBuffer(value),
      ($0.OpenIoTHubOperationResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.OpenIoTHubEmpty, $0.OpenIoTHubStringValue>(
          'GetAllConfig',
          getAllConfig_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.OpenIoTHubEmpty.fromBuffer(value),
          ($0.OpenIoTHubStringValue value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.OpenIoTHubStringValue, $0.OpenIoTHubEmpty>(
          'LoadAllConfig',
          loadAllConfig_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.OpenIoTHubStringValue.fromBuffer(value),
          ($0.OpenIoTHubEmpty value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.OpenIoTHubEmpty, $0.MDNSServiceList>(
      'GetAllmDNSServiceList',
      getAllmDNSServiceList_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.OpenIoTHubEmpty.fromBuffer(value),
      ($0.MDNSServiceList value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.OpenIoTHubStringValue, $0.MDNSServiceList>(
          'GetmDNSServiceListByType',
          getmDNSServiceListByType_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.OpenIoTHubStringValue.fromBuffer(value),
          ($0.MDNSServiceList value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.OpenIoTHubStringValue, $0.OpenIoTHubStringValue>(
          'ConvertOctonaryUtf8',
          convertOctonaryUtf8_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $0.OpenIoTHubStringValue.fromBuffer(value),
          ($0.OpenIoTHubStringValue value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.OpenIoTHubStringValue, $0.TokenModel>(
      'GetTokenModel',
      getTokenModel_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.OpenIoTHubStringValue.fromBuffer(value),
      ($0.TokenModel value) => value.writeToBuffer()));
}