Enum LineMode.ModeBit

java.lang.Object
java.lang.Enum<LineMode.ModeBit>
org.prelle.telnet.option.LineMode.ModeBit
All Implemented Interfaces:
Serializable, Comparable<LineMode.ModeBit>, java.lang.constant.Constable
Enclosing class:
LineMode

public static enum LineMode.ModeBit extends Enum<LineMode.ModeBit>
  • Enum Constant Details

    • EDIT

      public static final LineMode.ModeBit EDIT
      When set, the client side of the connection should process all input lines, performing any editing functions, and only send completed lines to the remote side. When unset, client side should not process any input from the user, and the server side should take care of all character processing that needs to be done.
    • TRAPSIG

      public static final LineMode.ModeBit TRAPSIG
    • MODE_ACK

      public static final LineMode.ModeBit MODE_ACK
    • SOFT_TAB

      public static final LineMode.ModeBit SOFT_TAB
    • LIT_ECHO

      public static final LineMode.ModeBit LIT_ECHO
  • Method Details

    • values

      public static LineMode.ModeBit[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LineMode.ModeBit valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

      public static LineMode.ModeBit valueOf(int val)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      val - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toModeList

      public static List<LineMode.ModeBit> toModeList(int val)