Class Linkage


public class Linkage extends OutputSection

Title: Linkage

Description: This class implements the linkage section.

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

    • Linkage

      public Linkage()
      Creates a new instance of the linkage section.
  • Method Details

    • isBorderRouterON

      public boolean isBorderRouterON()
      Tells if the border router behaviour is turned on.
    • borderRouterTurnOFF

      public void borderRouterTurnOFF()
      Turns off the border router behaviour.
    • borderRouterTurnON

      public void borderRouterTurnON(BlockingRegion region)
      Turns on the border router behaviour.
    • 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