X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/32a3008f360d90a28b60c66672da6ccee12f019e..83803fce1bb1e3657b8e5697df09d73b551bab05:/src/jmsg_host.h?ds=sidebyside diff --git a/src/jmsg_host.h b/src/jmsg_host.h index 4434b16f6b..d4ddd1d910 100644 --- a/src/jmsg_host.h +++ b/src/jmsg_host.h @@ -97,4 +97,59 @@ const char *jhost_get_name(jobject jhost, JNIEnv * env); */ jboolean jhost_is_valid(jobject jhost, JNIEnv * env); +/* + * Class simgrid_msg_Host + * Method getByName + * Signature (Ljava/lang/String;)Lsimgrid/msg/Host; + */ +JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Host_getByName + (JNIEnv *, jclass, jstring); + +/* + * Class simgrid_msg_Host + * Method currentHost + * Signature ()Lsimgrid/msg/Host; + */ +JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Host_currentHost + (JNIEnv *, jclass); + +/* + * Class simgrid_msg_Host + * Method getName + * Signature ()Ljava/lang/String; + */ +JNIEXPORT jstring JNICALL Java_org_simgrid_msg_Host_getName + (JNIEnv *, jobject); +/* + * Class simgrid_msg_Host + * Method getCount + * Signature ()I + */ +JNIEXPORT jint JNICALL Java_org_simgrid_msg_Host_getCount + (JNIEnv *, jclass); + +/* + * Class simgrid_msg_Host + * Method getSpeed + * Signature ()D + */ +JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_Host_getSpeed + (JNIEnv *, jobject); +/* + * Class simgrid_msg_Host + * Method getLoad + * Signature ()I + */ +JNIEXPORT jint JNICALL +Java_org_simgrid_msg_Host_getLoad(JNIEnv * env, + jobject jhost); + +/* + * Class simgrid_msg_Msg + * Method isAvail + * Signature ()Z + */ +JNIEXPORT jboolean JNICALL Java_org_simgrid_msg_Host_isAvail + (JNIEnv *, jobject); + #endif /*!MSG_JHOST_H */