Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove unimplemented method.
[simgrid.git] / org / simgrid / msg / Comm.java
index 3ef08e3..a0e2044 100644 (file)
@@ -15,17 +15,21 @@ public class Comm {
        /**
         * Indicates if the communication is a receiving communication
         */
-       boolean receiving;
+       protected boolean receiving;
+       /**
+        * Indicates if the communication is finished
+        */
+       protected boolean finished = false;
        /**
         * Represents the bind between the java comm and the
         * native C comm. You must never access it, since it is 
         * automatically set.
         */
-       public long bind = 0;
+       private long bind = 0;
        /**
         * Represents the bind for the task object pointer. Don't touch it.
         */
-       public long taskBind = 0;
+       private long taskBind = 0;
        /**
         * Task associated with the comm. Beware, it can be null 
         */
@@ -46,7 +50,7 @@ public class Comm {
        /**
         * Unbind the communication object
         */
-       public native void destroy() throws NativeException;
+       protected native void destroy() throws NativeException;
        /**
         * Returns if the communication is finished or not.
         * If the communication has finished and there was an error,