Class NAROINode

All Implemented Interfaces:
AdminIfc, ConfigIfc, LoggerIfc, NodeHealthIfc, NodeStateManagementIfc, PropertyIfc, StateManagementIfc

public class NAROINode extends OIFtpNode
This class represents the NAR Output Interface Node. It is used to output NAR records (as bytes) to files. This allows for the exchange of NARs between PSA systems or from a PSA system to another system.
  • Constructor Details

    • NAROINode

      public NAROINode()
      Default Constructor; instantiates objects necessary to define the DCNodeTypeIfc methods.
    • NAROINode

      public NAROINode(String[] args) throws NodeStartException
      Constructor for the class. Calls the super class OIFtpNode with the given array of arguments.
      Parameters:
      args - Arguments to be passed to the super class.
      Throws:
      NodeStartException
  • Method Details

    • getMinorType

      public String getMinorType()
      Returns the type name of the NAR OI node.
      Specified by:
      getMinorType in class DCNode
      Returns:
      Returns the minor type identifier for this node.
    • getConfigDataGuiClass

      public String getConfigDataGuiClass()
      Returns the name of the Config Data GUI class for this node.
      Specified by:
      getConfigDataGuiClass in class DCNode
      Returns:
      Returns the class name of the DCNodeConfigGUI object used by the node.
    • initFormatterAndRecord

      protected void initFormatterAndRecord(int currentThread) throws NodeStartException
      Initializes the OIFileFormatter object and DCFieldContainer object used by this node.
      Overrides:
      initFormatterAndRecord in class OIFtpNode
      Throws:
      NodeStartException
    • initFormatterAndRecord

      protected void initFormatterAndRecord() throws NodeStartException
      Overrides:
      initFormatterAndRecord in class OIFtpNode
      Throws:
      NodeStartException
    • main

      public static void main(String[] args)
      This method is useful for development and debugging purposes. Within the application, however, the main() method is never used.