Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright notices
[simgrid.git] / src / bindings / java / jmsg_as.h
1 /* Functions related to the java As instances.                            */
2
3 /* Copyright (c) 2007-2015. The SimGrid Team.
4  * All rights reserved.                                                     */
5
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. */
8
9 #ifndef MSG_JAS_H
10 #define MSG_JAS_H
11 #include <jni.h>
12 #include "simgrid/msg.h"
13
14 jobject jas_new_instance(JNIEnv * env);
15 jobject jas_ref(JNIEnv * env, jobject jas);
16 void jas_unref(JNIEnv * env, jobject jas);
17 void jas_bind(jobject jas, msg_as_t as, JNIEnv * env);
18 msg_as_t jas_get_native(JNIEnv * env, jobject jas);
19
20 JNIEXPORT void JNICALL
21 Java_org_simgrid_msg_As_nativeInit(JNIEnv *env, jclass cls);
22
23 JNIEXPORT jobject JNICALL
24 Java_org_simgrid_msg_As_getName(JNIEnv * env, jobject jas);
25
26 JNIEXPORT jobjectArray JNICALL
27 Java_org_simgrid_msg_As_getSons(JNIEnv * env, jobject jas);
28
29 JNIEXPORT jobject JNICALL
30 Java_org_simgrid_msg_As_getProperty(JNIEnv *env, jobject jhost, jobject jname);
31
32 JNIEXPORT jobject JNICALL
33 Java_org_simgrid_msg_As_getModel(JNIEnv * env, jobject jas);
34
35 JNIEXPORT jobjectArray JNICALL
36 Java_org_simgrid_msg_As_getHosts(JNIEnv * env, jobject jas);
37
38 #endif                          /*!MSG_JAS_H */