Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'hypervisor' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid into hypervisor
[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     public String toString (){
22         return this.getName(); 
23     }
24     public native String getName();
25
26     public native As[] getSons();
27
28     public native String getProperty(String name);
29
30     public native String getModel();
31
32     public native Host[] getHosts();
33
34     /**
35       * Class initializer, to initialize various JNI stuff
36       */
37     public static native void nativeInit();
38     static {
39         nativeInit();
40     }
41 }