From: <aca...@us...> - 2008-07-29 14:33:37
|
Revision: 192 http://gridsim.svn.sourceforge.net/gridsim/?rev=192&view=rev Author: acaminero Date: 2008-07-29 14:33:45 +0000 (Tue, 29 Jul 2008) Log Message: ----------- to allow future extensions (drop other things than files and gridlets) Modified Paths: -------------- branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java Modified: branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java =================================================================== --- branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java 2008-07-29 14:28:46 UTC (rev 191) +++ branches/gridsim4.0-branch2/source/gridsim/GridSimTags.java 2008-07-29 14:33:45 UTC (rev 192) @@ -302,6 +302,22 @@ /**This is to update the parameters of ARED*/ public static final int FNB_UPDATE_ARED_PARAMETERS = BASE + 37; + + /**This is to simulate the finite buffers. This constant is used when an Output + * port tells a user that a file has failed because at least of his packets + * has been dropped*/ + public static final int FNB_FILE_FAILED_BECAUSE_PACKET_DROPPED = BASE + 38; + + /**This is to simulate the finite buffers. This constant is used when an Output + * port tells a user that a file and a gridlet have failed because at least of his packets + * has been dropped*/ + public static final int FNB_FILE_GRIDLET_FAILED_BECAUSE_PACKET_DROPPED = BASE + 39; + + + /**This is to identify when a packet contains a file*/ + public static final int FNB_PKT_CONTAINS_FILE = BASE + 999; + + /**This is to update the parameters of ARED. The time period between updates (0.5 seconds)*/ public static final double FNB_UPDATE_ARED_PARAMETERS_PERIOD = 0.5; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |