Class Firing


public class Firing extends OutputSection

Title: Firing

Description: This class implements the firing section.

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

    • Firing

      public Firing(TransitionMatrix[] firingOutcomes)
      Creates a new instance of the firing 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
    • getFiringOutcomes

      public TransitionMatrix[] getFiringOutcomes()
      Gets the firing outcomes of this section.
      Returns:
      the firing outcomes of this section.