public final class Smf8Record extends SmfRecord
Mapping for SMF type 8 record.

Typically you would obtain Smf8Records by reading SmfRecords and using

Smf8Record.from(SmfRecord)

to create the specialized record after determining the record type.

  • Constructor Details

    • Smf8Record

      public Smf8Record(byte[] data)
      Constructs an SMF8Record from the specified byte array.
      Parameters:
      data - a byte array containing the SMF record data
    • Smf8Record

      public Smf8Record(SmfRecord record)
      Constructs a new Smf8Record from an existing SMF record. The 2 records share the same data byte array.
      Parameters:
      record - an existing SMF record
  • Method Details

    • from

      public static Smf8Record from(SmfRecord record)
      Constructs a new Smf8Record from an existing SMF record. The 2 records share the same data byte array.
      Parameters:
      record - an existing SMF record
    • from

      public static Smf8Record from(byte[] data)
      Constructs an Smf8Record from the specified byte array.
      Parameters:
      data - a byte array containing the SMF record data
    • header

      public Header header()
      Get the header for this record
      Returns:
      SMF type 8 record header
    • deviceDataSections

      public List<DeviceDataSection> deviceDataSections()
      Get a List containing Device Data sections from the record
      Returns:
      a list of DeviceDataSections (possibly empty)