Class GenevaOINode

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

public class GenevaOINode extends OINode implements GenevaFieldsIfc, GenevaConfigFieldsIfc
  • Constructor Details

  • Method Details

    • shutdown

      public void shutdown()
      Performs the necessary tasks to properly shutdown the node.
      Specified by:
      shutdown in interface AdminIfc
      Overrides:
      shutdown in class DCNode
    • getConfigDataGuiClass

      public String getConfigDataGuiClass()
      Specified by:
      getConfigDataGuiClass in class DCNode
    • getMinorType

      public String getMinorType()
      Specified by:
      getMinorType in class DCNode
    • isNodeStateImplemented

      public boolean isNodeStateImplemented()
      This method returns true in order to prevent restoreState from being called in the DCNode constructor, before the node is ready.
      Overrides:
      isNodeStateImplemented in class DCNode
      Returns:
      true, if node implements node state save and restore
    • startNode

      protected void startNode() throws NodeStartException
      This method is to be called when the node is started.
      Throws:
      NodeStartException
    • main

      public static void main(String[] args)
      useful for testing, but that's it
    • isHealthy

      public boolean isHealthy()
      This method is used to check if the node is fully functional.
      Specified by:
      isHealthy in interface NodeHealthIfc
      Overrides:
      isHealthy in class OINode
      Returns:
      true if the transport is healthy, false otherwise