X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/eb86ef55ebafd813f093d34b293254fc1587a7b2..eb72021a43c03453941437148607e47c7a3d45a2:/src/jmsg_comm.h diff --git a/src/jmsg_comm.h b/src/jmsg_comm.h index 1d5a3427b5..ce86f9d468 100644 --- a/src/jmsg_comm.h +++ b/src/jmsg_comm.h @@ -5,10 +5,22 @@ #ifndef MSG_JCOMM_H #define MSG_JCOMM_H #include +#include +/** + * This function binds the task associated with the communication to + * the java communication object. + */ +void jcomm_bind_task(JNIEnv *env, jobject jcomm); JNIEXPORT void JNICALL -Java_org_simgrid_msg_Comm_unbind(JNIEnv *env, jobject jcomm); +Java_org_simgrid_msg_Comm_nativeInit(JNIEnv *env, jclass cls); + +JNIEXPORT void JNICALL +Java_org_simgrid_msg_Comm_destroy(JNIEnv *env, jobject jcomm); JNIEXPORT jboolean JNICALL Java_org_simgrid_msg_Comm_test(JNIEnv *env, jobject jcomm); + +JNIEXPORT void JNICALL +Java_org_simgrid_msg_Comm_waitCompletion(JNIEnv *env, jobject jcomm, jdouble timeout); #endif /* MSG_JCOMM_H */