X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3ae3b1a42c1305e99e39929b4bdd3d80c7f6770e..a8c316ac06c17368f52aff8c009e63421103cc24:/src/bindings/java/surfdoc.i?ds=sidebyside diff --git a/src/bindings/java/surfdoc.i b/src/bindings/java/surfdoc.i index d88734c3c9..02a6c89f46 100644 --- a/src/bindings/java/surfdoc.i +++ b/src/bindings/java/surfdoc.i @@ -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, @@ -247,34 +247,32 @@ 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"; @@ -383,7 +381,7 @@ %typemap(javaimports) NetworkAction " /** * An network action created by network model - * @see NetworkLink + * @see Link */" %javamethodmodifiers NetworkAction::getLatency() "