Class Timing


public class Timing extends ServiceSection

Title: Timing

Description: This class implements the timing section.

Author:
Lulai Zhu Date: 15-07-2016 Time: 21.00.00
  • Constructor Details

    • Timing

      public Timing(String[] modeNames, Integer[] numbersOfServers, ServiceStrategy[] timingStrategies, Integer[] firingPriorities, Double[] firingWeights)
      Creates a new instance of the timing section.
  • Method Details

    • nodeLinked

      protected void nodeLinked(NetNode node) throws NetException
      Description copied from class: NodeSection
      This method should be overridden to implement a specific behaviour of the node section when the node section itself is linked to the owner node. This method should be used to set node section properties depending on the owner node ones.
      Overrides:
      nodeLinked in class NodeSection
      Parameters:
      node - Owner node.
      Throws:
      NetException
    • 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
    • analyzeTransition

      public void analyzeTransition(int name, String modeName, Measure measurement) throws NetException
      Overrides:
      analyzeTransition in class NodeSection
      Throws:
      NetException