1 /* Java Wrappers to the MSG API. */
3 /* Copyright (c) 2007, 2008, 2009, 2010. 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. */
14 JavaVM *get_java_VM(void);
15 JNIEnv *get_current_thread_env(void);
17 * This function throws the correct exception according to the status
20 void jmsg_throw_status(JNIEnv *env, MSG_error_t status);
23 * Class org_simgrid_msg_Msg
27 JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_Msg_getClock(JNIEnv *, jclass);
29 * Class org_simgrid_msg_Msg
32 JNIEXPORT void JNICALL
33 JNICALL Java_org_simgrid_msg_Msg_run(JNIEnv * env, jclass cls);
35 * Class org_simgrid_msg_Msg
38 JNIEXPORT void JNICALL
39 JNICALL Java_org_simgrid_msg_Msg_clean(JNIEnv * env, jclass cls);
41 JNIEXPORT void JNICALL
42 Java_org_simgrid_msg_Msg_init(JNIEnv * env, jclass cls, jobjectArray jargs);
44 JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_debug(JNIEnv *, jclass,
48 JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_info(JNIEnv *, jclass,
51 JNIEXPORT void JNICALL
52 Java_org_simgrid_msg_Msg_createEnvironment(JNIEnv * env, jclass cls,
53 jstring jplatformFile);
54 JNIEXPORT void JNICALL
55 Java_org_simgrid_msg_Msg_deployApplication(JNIEnv * env, jclass cls,
56 jstring jdeploymentFile);
58 #endif /* !MSG4JAVA_H */