Enum FrameType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<FrameType>

    public enum FrameType
    extends java.lang.Enum<FrameType>
    • Enum Constant Detail

      • INFORMATION

        public static final FrameType INFORMATION
      • RECEIVE_READY

        public static final FrameType RECEIVE_READY
      • RECEIVE_NOT_READY

        public static final FrameType RECEIVE_NOT_READY
      • SET_NORMAL_RESPONSEMODE

        public static final FrameType SET_NORMAL_RESPONSEMODE
      • DISCONNECT

        public static final FrameType DISCONNECT
      • UNNUMBERED_ACKNOWLEDGE

        public static final FrameType UNNUMBERED_ACKNOWLEDGE
      • DISCONNECT_MODE

        public static final FrameType DISCONNECT_MODE
      • FRAME_REJECT

        public static final FrameType FRAME_REJECT
      • UNNUMBERED_INFORMATION

        public static final FrameType UNNUMBERED_INFORMATION
      • ERR_INVALID_TYPE

        public static final FrameType ERR_INVALID_TYPE
    • Method Detail

      • values

        public static FrameType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FrameType c : FrameType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FrameType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • value

        public byte value()
      • frameTypeFor

        public static FrameType frameTypeFor​(int controlByte)