MPIGraph constructor

MPIGraph(
  1. InvocationHandler _h
)

Implementation

MPIGraph(this._h) {
  _methods = {
    'query': Method(
      {
        MPI: const MPI(
          name: 'mesh.graph.query',
          version: '0.0.0',
          proto: 'grpc',
          codec: 'json',
          flags: 0,
          timeout: 12000,
          retries: 3,
          idc: '',
          zone: '',
          cluster: '',
          cell: '',
          group: '',
          address: '',
        ),
      },
      Graph,
      _MeshGraphQueryParameters,
      _MeshGraphQueryReturns,
    ),
    'exec': Method(
      {
        MPI: const MPI(
          name: 'mesh.graph.exec',
          version: '0.0.0',
          proto: 'grpc',
          codec: 'json',
          flags: 0,
          timeout: 12000,
          retries: 3,
          idc: '',
          zone: '',
          cluster: '',
          cell: '',
          group: '',
          address: '',
        ),
      },
      Graph,
      _MeshGraphExecParameters,
      _MeshGraphExecReturns,
    ),
  };
}