Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'hypervisor' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid...
[simgrid.git] / src / bindings / java / org / simgrid / msg / As.java
1 /*
2  * Bindings to the MSG hosts
3  *
4  * Copyright 2006-2012 The SimGrid Team           
5  * All right reserved. 
6  *
7  * This program is free software; you can redistribute 
8  * it and/or modify it under the terms of the license 
9  *(GNU LGPL) which comes with this package. 
10  *
11  */  
12 package org.simgrid.msg;
13
14 public class As {
15
16     private long bind;
17     
18     protected As() {
19         };
20
21     
22     public long getBind() { return bind; }
23
24     public String toString (){
25         return this.getName(); 
26     }
27     public native String getName();
28
29     public native As[] getSons();
30
31     public native String getProperty(String name);
32
33         /**
34          * Class initializer, to initialize various JNI stuff
35          */
36         public static native void nativeInit();
37         static {
38                 nativeInit();
39         }
40 }