NetworkMetricsServiceBase constructor

NetworkMetricsServiceBase()

Implementation

NetworkMetricsServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.GetTxoStatsReq, $0.GetTxoStatsRes>(
      'getTxoStats',
      getTxoStats_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.GetTxoStatsReq.fromBuffer(value),
      ($0.GetTxoStatsRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.BlockchainSizeStatsReq,
          $0.BlockchainSizeStatsRes>(
      'getBlockchainSizeStats',
      getBlockchainSizeStats_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.BlockchainSizeStatsReq.fromBuffer(value),
      ($0.BlockchainSizeStatsRes value) => value.writeToBuffer()));
  $addMethod($grpc.ServiceMethod<$0.BlockStatsReq, $0.BlockStatsRes>(
      'getBlockStats',
      getBlockStats_Pre,
      false,
      false,
      ($core.List<$core.int> value) => $0.BlockStatsReq.fromBuffer(value),
      ($0.BlockStatsRes value) => value.writeToBuffer()));
}