|
From: <sul...@us...> - 2007-08-28 09:29:11
|
Revision: 35
http://gridsim.svn.sourceforge.net/gridsim/?rev=35&view=rev
Author: sulistio
Date: 2007-08-28 02:29:09 -0700 (Tue, 28 Aug 2007)
Log Message:
-----------
forgot to link the user entity with a router (mentioned by Agustin).
Modified Paths:
--------------
branches/gridsim4.0-branch1/examples/ResFailureEx01/ResFailureEx01.java
Modified: branches/gridsim4.0-branch1/examples/ResFailureEx01/ResFailureEx01.java
===================================================================
--- branches/gridsim4.0-branch1/examples/ResFailureEx01/ResFailureEx01.java 2007-08-28 06:04:16 UTC (rev 34)
+++ branches/gridsim4.0-branch1/examples/ResFailureEx01/ResFailureEx01.java 2007-08-28 09:29:09 UTC (rev 35)
@@ -180,6 +180,9 @@
user.setRegionalGIS(gis); // set the regional GIS entity
user.setGridletNumber(totalGridlet);
+ // link a resource to this router object
+ linkNetwork(router, user);
+
System.out.println("Created a USER with name " + userName +
" and id = " + user.get_id() + ", connected to " +
router.get_name() + ", and with " + totalGridlet +
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|