X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0c3ec6c8dcf39a172bb979cd5d0291067599c3ae..ed9b07e5c0c7eb6d4d38b0fe5aaea80d6996a8a7:/src/bindings/java/jmsg_as.h diff --git a/src/bindings/java/jmsg_as.h b/src/bindings/java/jmsg_as.h index 6961d4aec4..8e9ea422ec 100644 --- a/src/bindings/java/jmsg_as.h +++ b/src/bindings/java/jmsg_as.h @@ -1,28 +1,15 @@ /* Functions related to the java As instances. */ -/* Copyright (c) 2007-2012. The SimGrid Team. +/* Copyright (c) 2007-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - + * under the terms of the license (GNU LGPL) which comes with this package. */ #ifndef MSG_JAS_H #define MSG_JAS_H #include -#include "msg/msg.h" - -/* Functions related to the java host instances. */ - -/* Copyright (c) 2007-2012. The SimGrid Team. - * All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#include "msg/msg.h" -#include "jmsg.h" -#include "jmsg_host.h" +#include "simgrid/msg.h" jobject jas_new_instance(JNIEnv * env); jobject jas_ref(JNIEnv * env, jobject jas); @@ -42,5 +29,10 @@ Java_org_simgrid_msg_As_getSons(JNIEnv * env, jobject jas); JNIEXPORT jobject JNICALL Java_org_simgrid_msg_As_getProperty(JNIEnv *env, jobject jhost, jobject jname); +JNIEXPORT jobject JNICALL +Java_org_simgrid_msg_As_getModel(JNIEnv * env, jobject jas); + +JNIEXPORT jobjectArray JNICALL +Java_org_simgrid_msg_As_getHosts(JNIEnv * env, jobject jas); #endif /*!MSG_JAS_H */