Class BearerCapability.ITU_T.TransferMode

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

    public static final class BearerCapability.ITU_T.TransferMode
    extends NamedInteger
    ITU-T Information Transfer Mode constants.

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

     TransferMode ::= ENUMERATED {
         CIRCUIT (0),
         PACKET, (1),
         ...
     }
    See Also:
    Serialized Form
    • Field Detail

      • _CIRCUIT

        public static final int _CIRCUIT
        ITU-T Information Transfer Mode constant corresponding to circuit mode.
        See Also:
        Constant Field Values
      • _PACKET

        public static final int _PACKET
        ITU-T Information Transfer Mode constant corresponding to packet mode.
        See Also:
        Constant Field Values
      • MIN_VALUE

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

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

      • fromValue

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

        public static BearerCapability.ITU_T.TransferMode[] namedValues()
        Returns an array containing all of TransferMode's named numbers.
        Returns:
        a new TransferMode[]