Class MSClassmark.MSClassmark1

  • All Implemented Interfaces:
    DataObject, FastSerializable, Serializable
    Enclosing class:
    MSClassmark

    public static final class MSClassmark.MSClassmark1
    extends AbstractLazyEncodedByteArray
    implements FastSerializable
    Class MSClassmark1 provides the network with information concerning aspects of high priority of the mobile station equipment, coded in MSClassmark1 format.

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

     MSClassmark1 ::= SEQUENCE {
         iEI INTEGER,
         revisionLevel RevisionLevel,
         esIndicator ESIndicator,
         a51Algorithm A51Algorithm,
         rfPowerCapability RFPowerCapability
     }
    The class takes care of encoding the field values into a byte-array and decoding field values from a byte-array, the encoded representation being as tabulated below.

    Data Encoding - based on GSM 24.008 v9.3.0
    87654321
    Octet 10IEI
    Octet 20Revision LevelESA5/1RF Power
    See Also:
    Serialized Form
    • Constructor Detail

      • MSClassmark1

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

        public MSClassmark1​(byte[] data)
        Constructs a new MSClassmark1 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
      • MSClassmark1

        public MSClassmark1​(byte[] data,
                            int start,
                            int len)
        Constructs a new MSClassmark1 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
      • MSClassmark1

        public MSClassmark1​(DataInput in)
                     throws IOException
        Constructs a new MSClassmark1 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