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);
16 JNIEnv *get_current_thread_env(void);
18 * This function throws the correct exception according to the status
21 void jmsg_throw_status(JNIEnv *env, MSG_error_t status);
24 * Class org_simgrid_msg_Msg
28 JNIEXPORT jdouble JNICALL Java_org_simgrid_msg_Msg_getClock(JNIEnv *, jclass);
30 * Class org_simgrid_msg_Msg
33 JNIEXPORT void JNICALL
34 JNICALL Java_org_simgrid_msg_Msg_run(JNIEnv * env, jclass cls);
36 * Class org_simgrid_msg_Msg
39 JNIEXPORT void JNICALL
40 JNICALL Java_org_simgrid_msg_Msg_clean(JNIEnv * env, jclass cls);
42 JNIEXPORT void JNICALL
43 Java_org_simgrid_msg_Msg_init(JNIEnv * env, jclass cls, jobjectArray jargs);
45 JNIEXPORT void JNICALL Java_org_simgrid_msg_Msg_info(JNIEnv *, jclass,
48 JNIEXPORT void JNICALL
49 Java_org_simgrid_msg_Msg_createEnvironment(JNIEnv * env, jclass cls,
50 jstring jplatformFile);
51 JNIEXPORT void JNICALL
52 Java_org_simgrid_msg_Msg_deployApplication(JNIEnv * env, jclass cls,
53 jstring jdeploymentFile);
55 #endif /* !MSG4JAVA_H */