Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr/gitroot/simgrid/simgrid
[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         @Override
17         public String toString (){
18                 return this.getName(); 
19         }
20         public native String getName();
21
22         public native As[] getSons();
23
24         public native String getProperty(String name);
25
26         public native Host[] getHosts();
27
28         /**
29          * Class initializer, to initialize various JNI stuff
30          */
31         public static native void nativeInit();
32         static {
33                 nativeInit();
34         }
35 }