Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add isend in Task
[simgrid.git] / org / simgrid / msg / ApplicationHandler.java
index 0b6178d..ae57e0f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * These are the upcalls used by the FleXML parser for application files
  *
- * Copyright 2006,2007,2010 The SimGrid team.           
+ * Copyright 2006,2007,2010,2011 The SimGrid team.           
  * All right reserved. 
  *
  * This program is free software; you can redistribute 
@@ -14,10 +14,6 @@ package org.simgrid.msg;
 import java.util.Hashtable;
 import java.util.Vector;
 
-/**
- *
- * @author lbobelin
- */
 public final class ApplicationHandler {
 
 
@@ -106,9 +102,8 @@ public final class ApplicationHandler {
                                 Process process = cls.newInstance();
                                 process.name = function;
                                 process.id = org.simgrid.msg.Process.nextProcessId++;
-                                Host host = Host.getByName(hostName);
 
-                                MsgNative.processCreate(process, host);
+                                MsgNative.processCreate(process, hostName);
                                 Vector<String> args_ = args;
                                 int size = args_.size();