1 /* Functions related to the java As instances. */
3 /* Copyright (c) 2007-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"
16 jobject jas_new_instance(JNIEnv * env);
17 jobject jas_ref(JNIEnv * env, jobject jas);
18 void jas_unref(JNIEnv * env, jobject jas);
19 void jas_bind(jobject jas, msg_as_t as, JNIEnv * env);
20 msg_as_t jas_get_native(JNIEnv * env, jobject jas);
22 JNIEXPORT void JNICALL
23 Java_org_simgrid_msg_As_nativeInit(JNIEnv *env, jclass cls);
25 JNIEXPORT jobject JNICALL
26 Java_org_simgrid_msg_As_getName(JNIEnv * env, jobject jas);
28 JNIEXPORT jobjectArray JNICALL
29 Java_org_simgrid_msg_As_getSons(JNIEnv * env, jobject jas);
31 JNIEXPORT jobject JNICALL
32 Java_org_simgrid_msg_As_getProperty(JNIEnv *env, jobject jhost, jobject jname);
34 JNIEXPORT jobjectArray JNICALL
35 Java_org_simgrid_msg_As_getHosts(JNIEnv * env, jobject jas);
39 #endif /*!MSG_JAS_H */