public final class Smf8Record extends SmfRecord
Typically you would obtain Smf8Records by reading SmfRecords and using
Smf8Record.
from(SmfRecord)
to create the specialized record after determining the record type.
Constructor and Description |
---|
Smf8Record(byte[] data)
Constructs an SMF8Record from the specified byte array.
|
Smf8Record(SmfRecord record)
Constructs a new Smf8Record from an existing SMF record.
|
Modifier and Type | Method and Description |
---|---|
List<DeviceDataSection> |
deviceDataSections()
Get a List containing Device Data sections from the record
|
static Smf8Record |
from(byte[] data)
Constructs an Smf8Record from the specified byte array.
|
static Smf8Record |
from(SmfRecord record)
Constructs a new Smf8Record from an existing SMF record.
|
Header |
header()
Get the header for this record
|
equals, extendedHeader, extendedHeader, hashCode, hasSubtypes, hasSubtypes, recordLength, recordLength, recordType, recordType, sanityCheck, smfDate, smfDate, smfDateTime, smfDateTime, smfhdr1Flag, smfhdr1Iefu86, smfhdr1Len, smfhdr1Len, smfhdr1Stcke, smfhdr1StckeRawValue, smfhdr1Tzo, smfhdr1TzoRawValue, smfhdr1Version, smfhdr1Version, smfTime, smfTime, subSystem, subSystem, subType, subType, system, system, toString
createSection, dump, dump, dump, dump, getBytes, getBytes, getDataArray, getTriplet
public Smf8Record(byte[] data)
data
- a byte array containing the SMF record datapublic Smf8Record(SmfRecord record)
record
- an existing SMF recordpublic static Smf8Record from(SmfRecord record)
record
- an existing SMF recordpublic static Smf8Record from(byte[] data)
data
- a byte array containing the SMF record datapublic Header header()
public List<DeviceDataSection> deviceDataSections()
Copyright © 2020 Black Hill Software Pty Ltd. All rights reserved.