MPIWorkflow constructor

MPIWorkflow(
  1. InvocationHandler _h
)

Implementation

MPIWorkflow(this._h) {
  _methods = {
    'mass': Method(
      {
        MPI: const MPI(
          name: 'mesh.workflow.mass',
          version: '0.0.0',
          proto: 'grpc',
          codec: 'json',
          flags: 0,
          timeout: 12000,
          retries: 3,
          idc: '',
          zone: '',
          cluster: '',
          cell: '',
          group: '',
          address: '',
        ),
      },
      Workflow,
      _MeshWorkflowMassParameters,
      _MeshWorkflowMassReturns,
    ),
    'groups': Method(
      {
        MPI: const MPI(
          name: 'mesh.workflow.groups',
          version: '0.0.0',
          proto: 'grpc',
          codec: 'json',
          flags: 0,
          timeout: 12000,
          retries: 3,
          idc: '',
          zone: '',
          cluster: '',
          cell: '',
          group: '',
          address: '',
        ),
      },
      Workflow,
      _MeshWorkflowGroupsParameters,
      _MeshWorkflowGroupsReturns,
    ),
    'compile': Method(
      {
        MPI: const MPI(
          name: 'mesh.workflow.compile',
          version: '0.0.0',
          proto: 'grpc',
          codec: 'json',
          flags: 0,
          timeout: 12000,
          retries: 3,
          idc: '',
          zone: '',
          cluster: '',
          cell: '',
          group: '',
          address: '',
        ),
      },
      Workflow,
      _MeshWorkflowCompileParameters,
      _MeshWorkflowCompileReturns,
    ),
    'index': Method(
      {
        MPI: const MPI(
          name: 'mesh.workflow.index',
          version: '0.0.0',
          proto: 'grpc',
          codec: 'json',
          flags: 0,
          timeout: 12000,
          retries: 3,
          idc: '',
          zone: '',
          cluster: '',
          cell: '',
          group: '',
          address: '',
        ),
      },
      Workflow,
      _MeshWorkflowIndexParameters,
      _MeshWorkflowIndexReturns,
    ),
    'submit': Method(
      {
        MPI: const MPI(
          name: 'mesh.workflow.submit',
          version: '0.0.0',
          proto: 'grpc',
          codec: 'json',
          flags: 0,
          timeout: 12000,
          retries: 3,
          idc: '',
          zone: '',
          cluster: '',
          cell: '',
          group: '',
          address: '',
        ),
      },
      Workflow,
      _MeshWorkflowSubmitParameters,
      _MeshWorkflowSubmitReturns,
    ),
    'take': Method(
      {
        MPI: const MPI(
          name: 'mesh.workflow.take',
          version: '0.0.0',
          proto: 'grpc',
          codec: 'json',
          flags: 0,
          timeout: 12000,
          retries: 3,
          idc: '',
          zone: '',
          cluster: '',
          cell: '',
          group: '',
          address: '',
        ),
      },
      Workflow,
      _MeshWorkflowTakeParameters,
      _MeshWorkflowTakeReturns,
    ),
    'routines': Method(
      {
        MPI: const MPI(
          name: 'mesh.workflow.routines',
          version: '0.0.0',
          proto: 'grpc',
          codec: 'json',
          flags: 0,
          timeout: 12000,
          retries: 3,
          idc: '',
          zone: '',
          cluster: '',
          cell: '',
          group: '',
          address: '',
        ),
      },
      Workflow,
      _MeshWorkflowRoutinesParameters,
      _MeshWorkflowRoutinesReturns,
    ),
  };
}