X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/27d8dc3659e116a12b48fbde02eb4d6ae27f6328..38b4184589d2bebb56268dca0ec93738df8f0772:/src/bindings/java/jmsg_storage.h diff --git a/src/bindings/java/jmsg_storage.h b/src/bindings/java/jmsg_storage.h index 739a93060b..ac617ca49f 100644 --- a/src/bindings/java/jmsg_storage.h +++ b/src/bindings/java/jmsg_storage.h @@ -16,28 +16,28 @@ SG_BEGIN_DECL() /** * This function returns a new java storage instance. * - * @param env The environment of the current thread + * @param env The environment of the current thread * - * @return A new java storage object. + * @return A new java storage object. * - * @exception If the class Storage is not found the function throws - * the ClassNotFoundException. If the constructor of - * this class is not found the function throws the exception - * NotSuchMethodException. + * @exception If the class Storage is not found the function throws + * the ClassNotFoundException. If the constructor of + * this class is not found the function throws the exception + * NotSuchMethodException. */ jobject jstorage_new_instance(JNIEnv * env); /** * This function associated a native storage to a java storage instance. * - * @param jstorage The java storage instance. - * @param storage The native storage to bind. - * @param env The environment of the current thread + * @param jstorage The java storage instance. + * @param storage The native storage to bind. + * @param env The environment of the current thread * - * @exception If the class Storage is not found the function throws - * the ClassNotFoundException. If the field bind of - * this class is not found the function throws the exception - * NotSuchFieldException. + * @exception If the class Storage is not found the function throws + * the ClassNotFoundException. If the field bind of + * this class is not found the function throws the exception + * NotSuchFieldException. */ void jstorage_bind(jobject jstorage, msg_storage_t storage, JNIEnv * env); @@ -45,24 +45,24 @@ void jstorage_bind(jobject jstorage, msg_storage_t storage, JNIEnv * env); /** * This function returns a native storage from a java storage instance. * - * @param jstorage The java storage object from which get the native storage. - * @param env The environment of the current thread + * @param jstorage The java storage object from which get the native storage. + * @param env The environment of the current thread * - * @return The function returns the native storage associated to the - * java storage object. + * @return The function returns the native storage associated to the + * java storage object. * - * @exception If the class Storage is not found the function throws - * the ClassNotFoundException. If the field bind of - * this class is not found the function throws the exception - * NotSuchFieldException. + * @exception If the class Storage is not found the function throws + * the ClassNotFoundException. If the field bind of + * this class is not found the function throws the exception + * NotSuchFieldException. */ msg_storage_t jstorage_get_native(JNIEnv * env, jobject jstorage); /** - * Class org_simgrid_msg_Storage - * Method nativeInit - * Signature ()V + * Class org_simgrid_msg_Storage + * Method nativeInit + * Signature ()V */ JNIEXPORT void JNICALL Java_org_simgrid_msg_Storage_nativeInit(JNIEnv*, jclass); @@ -72,56 +72,56 @@ Java_org_simgrid_msg_Storage_nativeInit(JNIEnv*, jclass); * This function returns a global reference to the java storage instance * specified by the parameter jstorage. * - * @param jstorage The original java storage instance. - * @param env The environment of the current thread + * @param jstorage The original java storage instance. + * @param env The environment of the current thread * - * @return The global reference to the original java storage - * instance. + * @return The global reference to the original java storage + * instance. */ jobject jstorage_ref(JNIEnv * env, jobject jstorage); /** * This function delete a global reference to a java storage instance. * - * @param The global reference to delete. - * @param env The environment of the current thread + * @param The global reference to delete. + * @param env The environment of the current thread */ void jstorage_unref(JNIEnv * env, jobject jstorage); /** * This function returns the name of a MSG storage. * - * @param jstorage A java storage object. - * @param env The environment of the current thread + * @param jstorage A java storage object. + * @param env The environment of the current thread * - * @return The name of the storage. + * @return The name of the storage. */ const char *jstorage_get_name(jobject jstorage, JNIEnv * env); /* - * Class org_simgrid_msg_Storage - * Method getByName - * Signature (Ljava/lang/String;)Lsimgrid/msg/Storage; + * Class org_simgrid_msg_Storage + * Method getByName + * Signature (Ljava/lang/String;)Lsimgrid/msg/Storage; */ JNIEXPORT jobject JNICALL Java_org_simgrid_msg_Storage_getByName(JNIEnv *, jclass, jstring); /* - * Class org_simgrid_msg_Storage - * Method getSize - * Signature ()D + * Class org_simgrid_msg_Storage + * Method getSize + * Signature ()D */ JNIEXPORT jlong JNICALL Java_org_simgrid_msg_Storage_getSize(JNIEnv *, jobject); /* - * Class org_simgrid_msg_Storage - * Method getFreeSize - * Signature ()D + * Class org_simgrid_msg_Storage + * Method getFreeSize + * Signature ()D */ JNIEXPORT jlong JNICALL Java_org_simgrid_msg_Storage_getFreeSize(JNIEnv *, jobject); /* - * Class org_simgrid_msg_Storage - * Method getUsedSize - * Signature ()D + * Class org_simgrid_msg_Storage + * Method getUsedSize + * Signature ()D */ JNIEXPORT jlong JNICALL Java_org_simgrid_msg_Storage_getUsedSize(JNIEnv *, jobject);