ServiceBase constructor

ServiceBase()

Implementation

ServiceBase() {
  $addMethod($grpc.ServiceMethod<$1.SimulateRequest, $1.SimulateResponse>(
      'Simulate',
      simulate_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.SimulateRequest.fromBuffer(value),
      ($1.SimulateResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.GetTxRequest, $1.GetTxResponse>(
      'GetTx',
      getTx_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $1.GetTxRequest.fromBuffer(value),
      ($1.GetTxResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$1.BroadcastTxRequest, $1.BroadcastTxResponse>(
          'BroadcastTx',
          broadcastTx_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $1.BroadcastTxRequest.fromBuffer(value),
          ($1.BroadcastTxResponse value) => value.writeToBuffer()));
  $addMethod(
      $grpc.ServiceMethod<$1.GetTxsEventRequest, $1.GetTxsEventResponse>(
          'GetTxsEvent',
          getTxsEvent_Pre,
          false,
          false,
          ($core.List<$core.int> value) =>
              $1.GetTxsEventRequest.fromBuffer(value),
          ($1.GetTxsEventResponse value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$1.GetBlockWithTxsRequest,
          $1.GetBlockWithTxsResponse>(
      'GetBlockWithTxs',
      getBlockWithTxs_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $1.GetBlockWithTxsRequest.fromBuffer(value),
      ($1.GetBlockWithTxsResponse value) => value.writeToBuffer()));
}