1 /* Functions related to the java comm instances */
3 /* Copyright (c) 2012-2015. The SimGrid Team.
4 * All rights reserved. */
6 /* This program is free software; you can redistribute it and/or modify it
7 * under the terms of the license (GNU LGPL) which comes with this package. */
12 #include <simgrid/msg.h>
17 * This function binds the task associated with the communication to
18 * the java communication object.
20 void jcomm_bind_task(JNIEnv *env, jobject jcomm);
22 JNIEXPORT void JNICALL
23 Java_org_simgrid_msg_Comm_nativeInit(JNIEnv *env, jclass cls);
25 JNIEXPORT void JNICALL
26 Java_org_simgrid_msg_Comm_nativeFinalize(JNIEnv *env, jobject jcomm);
28 JNIEXPORT jboolean JNICALL
29 Java_org_simgrid_msg_Comm_test(JNIEnv *env, jobject jcomm);
31 JNIEXPORT void JNICALL
32 Java_org_simgrid_msg_Comm_waitCompletion(JNIEnv *env, jobject jcomm, jdouble timeout);
36 #endif /* MSG_JCOMM_H */