Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix bug with const in java bindings
[simgrid.git] / src / bindings / java / org / simgrid / surf / NetworkLink.java
index 730a281..5e61e7f 100644 (file)
@@ -1,6 +1,6 @@
 /* ----------------------------------------------------------------------------
  * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 2.0.11
+ * Version 2.0.12
  *
  * Do not make changes to this file unless you know what you are doing--modify
  * the SWIG interface file instead.
@@ -8,6 +8,9 @@
 
 package org.simgrid.surf;
 
+/**
+ * A generic resource for the network component
+ */
 public class NetworkLink extends Resource {
   private long swigCPtr;
 
@@ -49,26 +52,54 @@ public class NetworkLink extends Resource {
     return arrayWrapper;
   }
 
+  
+  /**
+    * @return The bandwidth of the link
+    */
   public double getBandwidth() {
     return SurfJNI.NetworkLink_getBandwidth(swigCPtr, this);
   }
 
+  
+  /**
+    * @param value The new bandwidth
+    * @param date When to change the bandwidth
+    */
   public void updateBandwidth(double value, double date) {
     SurfJNI.NetworkLink_updateBandwidth__SWIG_0(swigCPtr, this, value, date);
   }
 
+  
+  /**
+    * @param value The new bandwidth
+    * @param date When to change the bandwidth
+    */
   public void updateBandwidth(double value) {
     SurfJNI.NetworkLink_updateBandwidth__SWIG_1(swigCPtr, this, value);
   }
 
+  
+  /**
+    * @return The latency of the link
+    */
   public double getLatency() {
     return SurfJNI.NetworkLink_getLatency(swigCPtr, this);
   }
 
+  
+  /**
+    * @param value The new latency
+    * @param date When to change the latency
+    */
   public void updateLatency(double value, double date) {
     SurfJNI.NetworkLink_updateLatency__SWIG_0(swigCPtr, this, value, date);
   }
 
+  
+  /**
+    * @param value The new latency
+    * @param date When to change the latency
+    */
   public void updateLatency(double value) {
     SurfJNI.NetworkLink_updateLatency__SWIG_1(swigCPtr, this, value);
   }