Class HostState

java.lang.Object
com.iizix.term.HostState

public class HostState extends Object
This class is used to get the text to display in the status bar for the host terminal session.
Author:
Christopher Mindus
  • Constructor Details

    • HostState

      public HostState()
  • Method Details

    • getStateString

      public static String getStateString(int state, String lastError, PropCnr cnr)
      Get the string for the host session state and flags.
      Parameters:
      state - The host session native state.
      lastError - The last error string (5250), null or empty string for none.
      cnr - The property container for all strings in the appropriate language.
      Returns:
      The localized string depending on the property container strings and host state+flags.
    • getStateString

      public static String getStateString(int state, String lastError)
      Get the string for the host session state and flags.
      Parameters:
      state - The host session native state.
      lastError - The last error string (5250), null or empty string for none.
      Returns:
      The localized string depending on the property container strings and host state+flags.