From: <aca...@us...> - 2008-05-30 16:51:13
|
Revision: 179 http://gridsim.svn.sourceforge.net/gridsim/?rev=179&view=rev Author: acaminero Date: 2008-05-30 09:51:15 -0700 (Fri, 30 May 2008) Log Message: ----------- add white list of entities IDs and IO ports for network buffer Modified Paths: -------------- branches/gridsim4.0-branch2/source/gridsim/GridSim.java Modified: branches/gridsim4.0-branch2/source/gridsim/GridSim.java =================================================================== --- branches/gridsim4.0-branch2/source/gridsim/GridSim.java 2008-05-29 16:44:20 UTC (rev 178) +++ branches/gridsim4.0-branch2/source/gridsim/GridSim.java 2008-05-30 16:51:15 UTC (rev 179) @@ -14,8 +14,8 @@ import java.io.*; import java.util.*; import eduni.simjava.*; +import gridsim.net.fnb.*; - /** * This class is mainly responsible in initialization, running and stopping of * the overall simulation. @@ -82,6 +82,8 @@ case GridSimTags.NET_BUFFER_PACKET_LEVEL: GridSimCore.NETWORK_TYPE = GridSimTags.NET_BUFFER_PACKET_LEVEL; + // you create the white list + fnbWhiteList_ = new FnbWhiteList(); break; default: @@ -130,6 +132,7 @@ private static int statsID_ = -1; // id of GridStatistics entity private static Calendar calendar_ = null; // a Calendar object private static GridInformationService gis_ = null; // a GIS object + public static FnbWhiteList fnbWhiteList_ = null; private final static int NOT_FOUND = -1; // a constant //////////////////////////////////////////////////////////////////////// This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |