1 /* Functions related to the java comm instances */
3 /* Copyright (c) 2012. The SimGrid Team. All rights reserved. */
10 * This function binds the task associated with the communication to
11 * the java communication object.
13 void jcomm_bind_task(JNIEnv *env, jobject jcomm);
15 * This function throws the correct exception according to the status
18 void jcomm_throw(JNIEnv *env, MSG_error_t status);
20 JNIEXPORT void JNICALL
21 Java_org_simgrid_msg_Comm_nativeInit(JNIEnv *env, jclass cls);
23 JNIEXPORT void JNICALL
24 Java_org_simgrid_msg_Comm_unbind(JNIEnv *env, jobject jcomm);
26 JNIEXPORT jboolean JNICALL
27 Java_org_simgrid_msg_Comm_test(JNIEnv *env, jobject jcomm);
29 JNIEXPORT void JNICALL
30 Java_org_simgrid_msg_Comm_waitCompletion(JNIEnv *env, jobject jcomm, jdouble timeout);
31 #endif /* MSG_JCOMM_H */