exchange#

eclypse.remote.communication.mpi.interface.exchange(*, receive=False, send=False, broadcast=False)[source]#

Decorator to require and send a message in a Service method.

The decorated function must receive, send, or broadcast a message. Sending and broadcasting are mutually exclusive.

Parameters:
  • receive (bool, optional) – True if the decorated function receives a message. Defaults to False.

  • send (bool, optional) – True if the decorated function sends a message. Defaults to False.

  • broadcast (bool, optional) – True if the decorated function broadcasts a message. Defaults to False.