*/
public native static Host[] all();
+ /**
+ * This static method sets a mailbox to receive in asynchronous mode.
+ *
+ * All messages sent to this mailbox will be transferred to
+ * the receiver without waiting for the receive call.
+ * The receive call will still be necessary to use the received data.
+ * If there is a need to receive some messages asynchronously, and some not,
+ * two different mailboxes should be used.
+ *
+ * @param alias The name of the mailbox
+ */
+ public static native void setAsyncMailbox(String mailboxName);
+
+
/**
* This method returns the name of a host.
* @return The name of the host.