Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix the handling of errors in Task.send
[simgrid.git] / src / jmsg_comm.h
index 1d5a342..ce86f9d 100644 (file)
@@ -5,10 +5,22 @@
 #ifndef MSG_JCOMM_H
 #define MSG_JCOMM_H
 #include <jni.h>
+#include <msg/msg.h>
+/**
+ * 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 */