Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
e8a7a983d640f42b9e9df24af7a78c2649df8b3a
[simgrid.git] / src / bindings / java / org / simgrid / msg / As.java
1 /* Copyright (c) 2006-2014. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 package org.simgrid.msg;
8
9 public class As {
10
11     private long bind;
12     
13     protected As() {
14         };
15
16     public String toString (){
17         return this.getName(); 
18     }
19     public native String getName();
20
21     public native As[] getSons();
22
23     public native String getProperty(String name);
24
25     public native String getModel();
26
27     public native Host[] getHosts();
28
29     /**
30       * Class initializer, to initialize various JNI stuff
31       */
32     public static native void nativeInit();
33     static {
34         nativeInit();
35     }
36 }