- public native static Host currentHost();
-
- /**
- * This static method returns all of the hosts of the installed platform.
- *
- * @return An array containing all the hosts installed.
+ public static native Host getByName(String name) throws HostNotFoundException;
+ /** Counts the installed hosts. */
+ public static native int getCount();
+
+ /** Returns the host of the current process. */
+ public static native Host currentHost();
+
+ /** Returns all hosts of the installed platform. */
+ public static native 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.