Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
work around issues by passing the hostname instead of the host to processCreate()
[simgrid.git] / org / simgrid / msg / MsgNative.java
index c278bb13791d08bee0384a9f2a0fe8fdc9e2cd51..3c11df804fdf7b209b10d7fea7b30ceb76049b02 100644 (file)
@@ -32,7 +32,7 @@ final class MsgNative {
         * @see  Process constructors.
         */
        final static native
-       void processCreate(Process process, Host host);
+       void processCreate(Process process, String hostName) throws HostNotFoundException;
 
        /**
         * The natively implemented method to kill all the process of the simulation.
@@ -150,7 +150,7 @@ final class MsgNative {
         * @see                Process.migrate()
         * @see                Host.getByName()
         */
-       final static native void processChangeHost(Process process, Host host) ;
+       final static native void processMigrate(Process process, Host host) ;
 
        /**
         * The natively implemented native to request the current process to sleep 
@@ -427,4 +427,6 @@ final class MsgNative {
         */ 
        final static native void taskSendBounded(String alias, Task task, double maxrate) throws TransferFailureException,HostFailureException,TimeoutException;
 
+       final static native void taskDSend(String mailbox, Task task);
+
 }