Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use simgrid::Host instead of xbt_dictelt_t for root main object
[simgrid.git] / src / bindings / java / surfdoc.i
index d88734c..02a6c89 100644 (file)
@@ -68,7 +68,7 @@
   public";
 
 
-%javamethodmodifiers CpuModel::createResource(const char *name, DoubleDynar power_peak,
+%javamethodmodifiers CpuModel::createCpu(const char *name, DoubleDynar power_peak,
                               int pstate, double power_scale,
                               tmgr_trace *power_trace, int core,
                               e_surf_resource_state_t state_initial,
   public";
 
 
-%typemap(javaimports) NetworkLink "
+%typemap(javaimports) Link "
 /**
  * A generic resource for the network component
  */"
 
-  %javamethodmodifiers NetworkLink::getBandwidth() "
+  %javamethodmodifiers Link::getBandwidth() "
   /**
     * @return The bandwidth of the link
     */
   public";
 
-%javamethodmodifiers NetworkLink::updateBandwidth(double value, double date=surf_get_clock()) "
+%javamethodmodifiers Link::updateBandwidth(double value, double date=surf_get_clock()) "
   /**
     * @param value The new bandwidth
-    * @param date When to change the bandwidth
     */
   public";
 
-  %javamethodmodifiers NetworkLink::getLatency() "
+  %javamethodmodifiers Link::getLatency() "
   /**
     * @return The latency of the link
     */
   public";
 
-%javamethodmodifiers NetworkLink::updateLatency(double value, double date=surf_get_clock()) "
+%javamethodmodifiers Link::updateLatency(double value, double date=surf_get_clock()) "
   /**
     * @param value The new latency
-    * @param date When to change the latency
     */
   public";
 
 %typemap(javaimports) NetworkAction "
 /**
   * An network action created by network model
-  * @see NetworkLink
+  * @see Link
   */"
 
 %javamethodmodifiers NetworkAction::getLatency() "