Class BearerCapability.ITU_T.Layer2Protocol

  • All Implemented Interfaces:
    DataObject, Immutable, Serializable
    Enclosing class:
    BearerCapability.ITU_T

    public static final class BearerCapability.ITU_T.Layer2Protocol
    extends NamedInteger
    ITU-T User Information Layer 2 Protocol constants.

    The API offered by this class is as if the type were specified in ASN.1 as follows.

     Layer2Protocol ::= ENUMERATED {
         ... ,
         Q921_I441     (2),
         ... ,
         X25           (6),
         ... ,
         ISO_IEC_8802 (12),
         ...
     }
    See Also:
    Serialized Form
    • Field Detail

      • _Q921_I441

        public static final int _Q921_I441
        ITU-T User Information Layer 2 Protocol constant corresponding to Recommendation Q.921/I.441.
        See Also:
        Constant Field Values
      • _X25

        public static final int _X25
        ITU-T User Information Layer 2 Protocol constant corresponding to Recommendation X.25, link layer.
        See Also:
        Constant Field Values
      • _ISO_IEC_8802

        public static final int _ISO_IEC_8802
        ITU-T User Information Layer 2 Protocol constant corresponding to LAN logical link control, ISO/IEC 8802-2.
        See Also:
        Constant Field Values
      • ISO_IEC_8802

        public static final BearerCapability.ITU_T.Layer2Protocol ISO_IEC_8802
        ITU-T User Information Layer 2 Protocol constant corresponding to LAN logical link control, ISO/IEC 8802-2.
      • MIN_VALUE

        public static final int MIN_VALUE
        Minimum value that a Layer2Protocol instance may take (0).
        See Also:
        Constant Field Values
      • MAX_VALUE

        public static final int MAX_VALUE
        Maximum value that a Layer2Protocol instance may take (31).
        See Also:
        Constant Field Values
    • Method Detail

      • fromValue

        public static BearerCapability.ITU_T.Layer2Protocol fromValue​(int value)
        Returns a Layer2Protocol for a particular integer value.
        Returns:
        any known instance, or a new object