1 /* Functions related to the java As instances. */
3 /* Copyright (c) 2007-2014. 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 /* Functions related to the java host instances. */
16 /* Copyright (c) 2007-2013. The SimGrid Team.
17 * All rights reserved. */
19 /* This program is free software; you can redistribute it and/or modify it
20 * under the terms of the license (GNU LGPL) which comes with this package. */
24 #include "jmsg_host.h"
26 jobject jas_new_instance(JNIEnv * env);
27 jobject jas_ref(JNIEnv * env, jobject jas);
28 void jas_unref(JNIEnv * env, jobject jas);
29 void jas_bind(jobject jas, msg_as_t as, JNIEnv * env);
30 msg_as_t jas_get_native(JNIEnv * env, jobject jas);
32 JNIEXPORT void JNICALL
33 Java_org_simgrid_msg_As_nativeInit(JNIEnv *env, jclass cls);
35 JNIEXPORT jobject JNICALL
36 Java_org_simgrid_msg_As_getName(JNIEnv * env, jobject jas);
38 JNIEXPORT jobjectArray JNICALL
39 Java_org_simgrid_msg_As_getSons(JNIEnv * env, jobject jas);
41 JNIEXPORT jobject JNICALL
42 Java_org_simgrid_msg_As_getProperty(JNIEnv *env, jobject jhost, jobject jname);
44 JNIEXPORT jobject JNICALL
45 Java_org_simgrid_msg_As_getModel(JNIEnv * env, jobject jas);
47 JNIEXPORT jobjectArray JNICALL
48 Java_org_simgrid_msg_As_getHosts(JNIEnv * env, jobject jas);
50 #endif /*!MSG_JAS_H */