Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'v3_9_x'
[simgrid.git] / src / jmsg_comm.h
1 /* Functions related to the java comm instances                                                                                                                                 */
2
3 /* Copyright (c) 2012. The SimGrid Team. All rights reserved.                   */
4
5 #ifndef MSG_JCOMM_H
6 #define MSG_JCOMM_H
7 #include <jni.h>
8 #include <msg/msg.h>
9 /**
10  * This function binds the task associated with the communication to
11  * the java communication object.
12  */
13 void jcomm_bind_task(JNIEnv *env, jobject jcomm);
14
15 JNIEXPORT void JNICALL
16 Java_org_simgrid_msg_Comm_nativeInit(JNIEnv *env, jclass cls);
17
18 JNIEXPORT void JNICALL
19 Java_org_simgrid_msg_Comm_destroy(JNIEnv *env, jobject jcomm);
20
21 JNIEXPORT jboolean JNICALL
22 Java_org_simgrid_msg_Comm_test(JNIEnv *env, jobject jcomm);
23
24 JNIEXPORT void JNICALL
25 Java_org_simgrid_msg_Comm_waitCompletion(JNIEnv *env, jobject jcomm, jdouble timeout);
26 #endif /* MSG_JCOMM_H */