java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.SmfRecord
com.blackhillsoftware.smf.smf8.Smf8Record
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 Summary
ConstructorDescriptionSmf8Record
(byte[] data) Constructs an SMF8Record from the specified byte array.Smf8Record
(SmfRecord record) Constructs a new Smf8Record from an existing SMF record. -
Method Summary
Modifier and TypeMethodDescriptionGet a List containing Device Data sections from the recordstatic Smf8Record
from
(byte[] data) Constructs an Smf8Record from the specified byte array.static Smf8Record
Constructs a new Smf8Record from an existing SMF record.header()
Get the header for this recordMethods inherited from class com.blackhillsoftware.smf.SmfRecord
createSection, extendedHeader, extendedHeader, getTriplet, 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
-
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
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
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
Constructs an Smf8Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
header
Get the header for this record- Returns:
- SMF type 8 record header
-
deviceDataSections
Get a List containing Device Data sections from the record- Returns:
- a list of DeviceDataSections (possibly empty)
-