Class Delay


public class Delay extends ServiceSection
This class implements a multi-class delay service. Every class has a specific distribution and a own set of statistical parameters. The delay service processes a job without being busy.
Author:
Francesco Radaelli
  • Constructor Details

    • Delay

      public Delay(ServiceStrategy[] serviceStrategies)
      Creates a new instance of Delay. Use this constructor to create a delay service for a open/closed network.
      Parameters:
      serviceStrategies - Array of service strategies, one per class.
  • Method Details

    • process

      protected int process(NetMessage message) throws NetException
      Description copied from class: NodeSection
      This method should be overridden to implement a specific NetMessage processor.
      Specified by:
      process in class NodeSection
      Parameters:
      message - message to be processed.
      Returns:
      message processing result.
      Throws:
      NetException
    • getLastJobInfo

      public JobInfo getLastJobInfo()