X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4402a2f5346abec910e7ff8551fccb030a7ba823..cb32691df917d727efc1384faf5ec0a18511f135:/src/java/simgrid/msg/MsgNative.java diff --git a/src/java/simgrid/msg/MsgNative.java b/src/java/simgrid/msg/MsgNative.java index 535420027a..8d0f2efb99 100644 --- a/src/java/simgrid/msg/MsgNative.java +++ b/src/java/simgrid/msg/MsgNative.java @@ -11,19 +11,19 @@ package simgrid.msg; +/* FIXME: split into internal classes of Msg, Task, Host etc. */ + /** * Contains all the native methods related to Process, Host and Task. */ final class MsgNative { - final static native void selectContextFactory(String name) throws NativeException; /****************************************************************** * The natively implemented methods connected to the MSG Process * ******************************************************************/ - /** * The natively implemented method to create an MSG process. * @@ -417,14 +417,11 @@ final class MsgNative { */ final static native void taskExecute(Task task) throws NativeException; - - /* **************************************************************** * Communication methods thru mailboxes * **************************************************************** */ - - final static native void taskSend(String alias, Task task, double timeout) throws NativeException; + final static native void taskSend(String alias, Task task, double timeout) throws NativeException,TransferFailureException,HostFailureException,TimeoutFailureException; final static native Task taskReceive(String alias, double timeout, Host host) throws NativeException; final static native int taskListenFrom(String alias) throws NativeException; final static native boolean taskListen(String alias); @@ -446,4 +443,4 @@ final class MsgNative { */ final static native void taskSendBounded(String alias, Task task, double maxrate) throws NativeException; -} +} \ No newline at end of file