X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2a48d6322f6b2ef7867b484e1f5820f0d4201be8..e881539db7cf1f6bb7e6d4e2ad11fbcea275c035:/org/simgrid/msg/Comm.java diff --git a/org/simgrid/msg/Comm.java b/org/simgrid/msg/Comm.java index 2865757c34..0aae5c484d 100644 --- a/org/simgrid/msg/Comm.java +++ b/org/simgrid/msg/Comm.java @@ -12,6 +12,10 @@ package org.simgrid.msg; * between processes. */ public class Comm { + /** + * Indicates if the communication is a receiving communication + */ + boolean receiving; /** * Represents the bind between the java comm and the * native C comm. You must never access it, since it is @@ -36,13 +40,13 @@ public class Comm { /** * Finalize the communication object, destroying it. */ - protected void finalize() { + protected void finalize() throws Throwable { unbind(); } /** * Unbind the communication object */ - public native void unbind(); + public native void unbind() throws NativeException; /** * Returns if the communication is finished or not. * If the communication has finished and there was an error,