Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2022.
[simgrid.git] / src / bindings / java / org / simgrid / msg / As.java
1 /* Copyright (c) 2006-2022. 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         @Override
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 Host[] getHosts();
26
27         /**
28          * Class initializer, to initialize various JNI stuff
29          */
30         public static native void nativeInit();
31         static {
32                 nativeInit();
33         }
34 }