Class BearerCapability.ITU_T.Ericsson

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

    public static final class BearerCapability.ITU_T.Ericsson
    extends AbstractLazyEncodedByteArray
    Class Ericsson represents the Ericsson-specific data within a BearerCapability.ITU_T. It represents part of a larger octet string; it is not transmitted on a network by itself.

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

     Ericsson ::= SEQUENCE {
         structure     Structure,
         configuration Configuration,
         establishment Establishment,
         ericsson4b    Ericsson4b OPTIONAL
     }

    Data Encoding - based on comment in Ericsson-INAP-CS1-Datatypes.asn
    87654321
    Octet 4aext. 0/1StructureConfigurationEstablishment
    Octet 4b*ext. 1SymmetryReverse information transfer rate

    The octet numbering in the above table results from renumbering Ericsson's 2a and 2b to fit into the numbering used in ITU-T Q.931 (05/98) §4.5.5 p58.
    See Also:
    Serialized Form
    • Constructor Detail

      • Ericsson

        public Ericsson()
        Constructs a new Ericsson object with no fields set.
      • Ericsson

        public Ericsson​(byte[] data)
        Constructs a new Ericsson object from network-encoded data. The data is not decoded and might not be decodable.
        Parameters:
        data - network-encoded data
        Throws:
        NullPointerException - if data is null
      • Ericsson

        public Ericsson​(byte[] data,
                        int start,
                        int len)
        Constructs a new Ericsson object from part of network-encoded data. The part starts at index start and is len bytes long. The data is not decoded and might not be decodable.
        Parameters:
        data - network-encoded data
        start - starting offset of network-encoded data in byte array
        len - default length if not predictable
        Throws:
        NullPointerException - if data is null
        IllegalArgumentException - if len is negative
      • Ericsson

        public Ericsson​(DataInput in)
                 throws IOException
        Constructs a new Ericsson object from data deserialized from a stream that was written by toStream(DataOutput).
        Parameters:
        in - the stream to read from
        Throws:
        EOFException - if reading is pre-empted by end-of-file
        IOException - if the data cannot be read