public final class Smf77Record extends SmfRecord
Mapping for SMF type 77 record. Typically you would obtain Smf77Records by reading SmfRecords and using

Smf77Record.from(SmfRecord)

to create the specialized record after determining the record type.

Sections
Most section types are returned in a List containing 0 or more of the section type, depending on the values in the header triplet. If the record is documented as always having exactly 1 of a section e.g. Product Section, the single section is returned.
  • Constructor Details

    • Smf77Record

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

      public Smf77Record(SmfRecord record)
      Constructs a new Smf77Record 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 Smf77Record from(SmfRecord record)
      Constructs a new Smf77Record from an existing SMF record. The 2 records share the same data byte array.
      Parameters:
      record - an existing SMF record
    • from

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

      public Header header()
      Get the Product section for this record
      Returns:
      SMF type 77 record header
    • productSection

      public ProductSection productSection()
      Get the header for this record
      Returns:
      SMF type 77 Product Section
    • enqueueControlSections

      public List<EnqueueControlSection> enqueueControlSections()
      Get a List containing Enqueue Control sections from the record
      Returns:
      a list of EnqueueControlSection (possibly empty)
    • enqueueDataSections

      public List<EnqueueDataSection> enqueueDataSections()
      Get a List containing Enqueue Data sections from the record
      Returns:
      a list of EnqueueDataSection (possibly empty)