Logo AND Algorithmique Numérique Distribuée

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