RubixServiceBase constructor

RubixServiceBase()

Implementation

RubixServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.ChallengeReq, $0.ChallengeString>(
      'CreateDIDChallenge',
      createDIDChallenge_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.ChallengeReq.fromBuffer(value),
      ($0.ChallengeString value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.CreateDIDReq, $0.CreateDIDRes>(
      'CreateDID',
      createDID_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.CreateDIDReq.fromBuffer(value),
      ($0.CreateDIDRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.RequestTransactionPayloadReq,
          $0.RequestTransactionPayloadRes>(
      'InitiateTransaction',
      initiateTransaction_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.RequestTransactionPayloadReq.fromBuffer(value),
      ($0.RequestTransactionPayloadRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Empty, $0.IncomingTxnDetails>(
      'StreamIncomingTxn',
      streamIncomingTxn_Pre,
      false,
      true,
      ($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
      ($0.IncomingTxnDetails value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.HashSigned, $0.Status>(
      'SignResponse',
      signResponse_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.HashSigned.fromBuffer(value),
      ($0.Status value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$0.GenerateReq, $0.RequestTransactionPayloadRes>(
          'GenerateRbt',
          generateRbt_Pre,
          false,
          false,
          ($core.List<$core.int> value) => $0.GenerateReq.fromBuffer(value),
          ($0.RequestTransactionPayloadRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Empty, $0.GetBalanceRes>(
      'GetBalance',
      getBalance_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
      ($0.GetBalanceRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Empty, $0.ChallengeString>(
      'GetAccessTokenChallenge',
      getAccessTokenChallenge_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
      ($0.ChallengeString value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.SignedPayload, $0.Token>(
      'GenerateAccessToken',
      generateAccessToken_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.SignedPayload.fromBuffer(value),
      ($0.Token value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Empty, $0.TransactionHistory>(
      'GetTransactionHistory',
      getTransactionHistory_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
      ($0.TransactionHistory value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Empty, $0.RequestTransactionPayloadRes>(
      'StreamSignResponse',
      streamSignResponse_Pre,
      false,
      true,
      ($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
      ($0.RequestTransactionPayloadRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.HashSigned, $0.Status>(
      'SignData',
      signData_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.HashSigned.fromBuffer(value),
      ($0.Status value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.Empty, $0.Assets>(
      'getAsset',
      getAsset_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.Empty.fromBuffer(value),
      ($0.Assets value) => value.writeToBuffer()));
}