Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add/update copyright notices.
[simgrid.git] / src / bindings / java / org / simgrid / msg / As.java
index 9e62f4f..e8a7a98 100644 (file)
@@ -1,14 +1,9 @@
-/*
- * Bindings to the MSG hosts
- *
- * Copyright 2006-2012 The SimGrid Team           
- * All right reserved. 
- *
- * This program is free software; you can redistribute 
- * it and/or modify it under the terms of the license 
- *(GNU LGPL) which comes with this package. 
- *
- */  
+/* Copyright (c) 2006-2014. The SimGrid Team.
+ * All rights reserved.                                                     */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
 package org.simgrid.msg;
 
 public class As {
@@ -18,9 +13,6 @@ public class As {
     protected As() {
        };
 
-    
-    public long getBind() { return bind; }
-
     public String toString (){
        return this.getName(); 
     }
@@ -30,11 +22,15 @@ public class As {
 
     public native String getProperty(String name);
 
-       /**
-        * Class initializer, to initialize various JNI stuff
-        */
-       public static native void nativeInit();
-       static {
-               nativeInit();
-       }
+    public native String getModel();
+
+    public native Host[] getHosts();
+
+    /**
+      * Class initializer, to initialize various JNI stuff
+      */
+    public static native void nativeInit();
+    static {
+       nativeInit();
+    }
 }