Ignore:
Timestamp:
10/08/12 10:23:45 (13 years ago)
Author:
wojtekp
Message:
 
File:
1 moved

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/simulator/DCWormsUsers.java

    r477 r481  
    77import gridsim.Gridlet; 
    88import gridsim.IO_data; 
     9import gridsim.gssim.DCWormsTags; 
    910import gridsim.net.InfoPacket; 
    1011import gssim.schedframe.scheduling.utils.JobDescription; 
     
    3132import simulator.workload.WorkloadLoader; 
    3233 
    33 public class WormsUsers extends GridSim implements GenericUser { 
     34public class DCWormsUsers extends GridSim implements GenericUser { 
    3435 
    3536        /**A job generator, which produces jobs and tasks. These jobs are then sent by this entity */ 
     
    5455        protected boolean error; 
    5556         
    56         private static Log log = LogFactory.getLog(WormsUsers.class); 
     57        private static Log log = LogFactory.getLog(DCWormsUsers.class); 
    5758         
    5859        /** 
     
    6364         * @throws Exception if any occurs (see {@link GridSim#GridSim(String, double)}) 
    6465         */ 
    65         public WormsUsers(String name, String destinationName, WorkloadLoader workload) throws Exception { 
    66                 super(name, WormsConstants.DEFAULT_BAUD_RATE); 
     66        public DCWormsUsers(String name, String destinationName, WorkloadLoader workload) throws Exception { 
     67                super(name, DCWormsConstants.DEFAULT_BAUD_RATE); 
    6768                this.workloadLoader = workload; 
    6869                destName = destinationName; 
     
    259260                for (JobInterface<?> job : returnedJobs) { 
    260261                        for (TaskInterface<?> task: job.getTask()) { 
    261                                 if(task.getStatus() == Gridlet.SUCCESS) 
     262                                if(task.getStatus() == DCWormsTags.SUCCESS) 
    262263                                        result++; 
    263264                        } 
Note: See TracChangeset for help on using the changeset viewer.