java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.SmfRecord
com.blackhillsoftware.smf.smf21.Smf21Record
Mapping for SMF type 21 record.
Typically you would obtain Smf21Records by reading SmfRecords and using
Smf21Record.
from(SmfRecord)
to create the specialized record after determining the record type.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0xC3 = 195static final int
Constant: 0x03 = 3static final int
Constant: 0x43 = 67static final int
Constant: 0xD3 = 211static final int
Constant: 0x83 = 131static final int
Constant: 0xCB = 203static final int
Constant: 0x04 = 4static final int
Constant: 0x10 = 16static final int
Constant: 0x12 = 18static final int
Constant: 0x42 = 66static final int
Constant: 0xC2 = 194static final int
Constant: 0x20 = 32static final int
Constant: 0x40 = 64static final int
Constant: 0x08 = 8static final int
Constant: 0x80 = 128static final int
Constant: 0x80 = 128static final int
Constant: 0x40 = 64 -
Constructor Summary
ConstructorDescriptionSmf21Record
(byte[] data) Constructs an Smf21Record from the specified byte array.Smf21Record
(SmfRecord record) Constructs a new Smf21Record from an existing SMF record. -
Method Summary
Modifier and TypeMethodDescriptionstatic Smf21Record
from
(byte[] data) Constructs an Smf21Record from the specified byte array.static Smf21Record
Constructs a new Smf21Record from an existing SMF record.boolean
smf21160()
Return true ifsmf21den()
equalsSMF21160
.boolean
smf21200()
Return true ifsmf21den()
equalsSMF21200
.boolean
smf21556()
Return true ifsmf21den()
equalsSMF21556
.boolean
smf21625()
Return true ifsmf21den()
equalsSMF21625
.boolean
smf21780()
Return true ifsmf21den()
equalsSMF21780
.boolean
smf21800()
Return true ifsmf21den()
equalsSMF21800
.int
smf21bls()
SMF21BLS value.int
smf21br()
3 byte SMF21BR value.long
smf21brn()
SMF21BRN value.int
smf21bw()
3 byte SMF21BW value.long
smf21bwn()
SMF21BWN value.int
smf21ca()
SMF21CA value.boolean
smf21cbc()
Return true ifSMF21CBC
bit insmf21fl1()
is set.int
smf21cln()
SMF21CLN value.long
smf21dbr()
SMF21DBR value.boolean
smf21dbv()
Return true ifSMF21DBV
bit insmf21fl1()
is set.long
smf21dbw()
SMF21DBW value.int
smf21den()
SMF21DEN value.int
smf21dev()
SMF21DEV value.smf21dte()
SMF21DTE as a LocalDate.int
SMF21DTE raw value.int
smf21erg()
SMF21ERG value.boolean
smf21f16()
Return true ifsmf21den()
equalsSMF21F16
.boolean
smf21f62()
Return true ifsmf21den()
equalsSMF21F62
.int
smf21fl1()
SMF21FL1 value.int
smf21fl2()
SMF21FL2 value.int
smf21flg()
SMF21FLG value.boolean
smf21lb()
Return true ifSMF21LB
bit insmf21fl1()
is set.long
smf21lbs()
SMF21LBS value.int
smf21len()
SMF21LEN value.int
smf21lgh()
SMF21LGH value.boolean
smf21ls()
Return true ifSMF21LS
bit insmf21fl1()
is set.long
smf21lst()
SMF21LST value.long
smf21mcr()
SMF21MCR value.long
smf21mcw()
SMF21MCW value.long
smf21mdr()
SMF21MDR value.long
smf21mdw()
SMF21MDW value.boolean
smf21mfv()
Return true ifSMF21MFV
bit insmf21fl1()
is set.int
smf21nb()
SMF21NB value.boolean
smf21nct()
Return true ifSMF21NCT
bit insmf21fl1()
is set.int
smf21ofl()
SMF21OFL value.boolean
smf21out()
Return true ifSMF21OUT
bit insmf21ofl()
is set.int
smf21pr()
SMF21PR value.int
smf21pw()
SMF21PW value.boolean
smf21rdb()
Return true ifSMF21RDB
bit insmf21ofl()
is set.int
smf21rty()
SMF21RTY value.int
smf21seg()
SMF21SEG value.smf21sid()
SMF21SID value.int
smf21sio()
SMF21SIO value.smf21tme()
SMF21TME as a LocalTime.long
SMF21TME raw valueint
smf21tr()
SMF21TR value.int
smf21trb()
SMF21TRB value.int
smf21trf()
SMF21TRF value.int
smf21tus()
SMF21TUS value.int
smf21tw()
SMF21TW value.int
smf21twf()
SMF21TWF value.long
smf21ucb()
SMF21UCB value.smf21vol()
SMF21VOL value.Methods 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
-
Field Details
-
SMF21DL
public static final int SMF21DLConstant: 0x12 = 18- See Also:
-
SMF21625
public static final int SMF21625Constant: 0xD3 = 211- See Also:
-
SMF21F62
public static final int SMF21F62Constant: 0xC2 = 194- See Also:
-
SMF21160
public static final int SMF21160Constant: 0xC3 = 195- See Also:
-
SMF21F16
public static final int SMF21F16Constant: 0x42 = 66- See Also:
-
SMF21800
public static final int SMF21800Constant: 0xCB = 203- See Also:
-
SMF21780
public static final int SMF21780Constant: 0x83 = 131- See Also:
-
SMF21556
public static final int SMF21556Constant: 0x43 = 67- See Also:
-
SMF21200
public static final int SMF21200Constant: 0x03 = 3- See Also:
-
SMF21OUT
public static final int SMF21OUTConstant: 0x80 = 128- See Also:
-
SMF21RDB
public static final int SMF21RDBConstant: 0x40 = 64- See Also:
-
SMF21NCT
public static final int SMF21NCTConstant: 0x80 = 128- See Also:
-
SMF21LS
public static final int SMF21LSConstant: 0x40 = 64- See Also:
-
SMF21LB
public static final int SMF21LBConstant: 0x20 = 32- See Also:
-
SMF21DBV
public static final int SMF21DBVConstant: 0x10 = 16- See Also:
-
SMF21MFV
public static final int SMF21MFVConstant: 0x08 = 8- See Also:
-
SMF21CBC
public static final int SMF21CBCConstant: 0x04 = 4- See Also:
-
-
Constructor Details
-
Smf21Record
public Smf21Record(byte[] data) Constructs an Smf21Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
Smf21Record
Constructs a new Smf21Record 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 Smf21Record from an existing SMF record. The 2 records share the same data byte array.- Parameters:
record
- an existing SMF record
-
from
Constructs an Smf21Record from the specified byte array.- Parameters:
data
- a byte array containing the SMF record data
-
smf21len
public int smf21len()SMF21LEN value.- Returns:
- int SMF21LEN value
-
smf21seg
public int smf21seg()SMF21SEG value.- Returns:
- int SMF21SEG value
-
smf21flg
public int smf21flg()SMF21FLG value.- Returns:
- int SMF21FLG value
-
smf21rty
public int smf21rty()SMF21RTY value.- Returns:
- int SMF21RTY value
-
smf21tme
SMF21TME as a LocalTime.- Returns:
- LocalTime SMF21TME Time
- See Also:
-
smf21tmeRawValue
public long smf21tmeRawValue()SMF21TME raw value- Returns:
- long SMF21TME value
-
smf21dte
SMF21DTE as a LocalDate.- Returns:
- LocalDate SMF21DTE Date
- See Also:
-
smf21dteRawValue
public int smf21dteRawValue()SMF21DTE raw value.- Returns:
- int SMF21DTE value
-
smf21sid
SMF21SID value.- Returns:
- String SMF21SID value
-
smf21lgh
public int smf21lgh()SMF21LGH value.- Returns:
- int SMF21LGH value
-
smf21vol
SMF21VOL value.- Returns:
- String SMF21VOL value
-
smf21ca
public int smf21ca()SMF21CA value.- Returns:
- int SMF21CA value
-
smf21ucb
public long smf21ucb()SMF21UCB value.- Returns:
- long SMF21UCB value
-
smf21dev
public int smf21dev()SMF21DEV value.- Returns:
- int SMF21DEV value
-
smf21tr
public int smf21tr()SMF21TR value.- Returns:
- int SMF21TR value
-
smf21tw
public int smf21tw()SMF21TW value.- Returns:
- int SMF21TW value
-
smf21sio
public int smf21sio()SMF21SIO value.- Returns:
- int SMF21SIO value
-
smf21pr
public int smf21pr()SMF21PR value.- Returns:
- int SMF21PR value
-
smf21pw
public int smf21pw()SMF21PW value.- Returns:
- int SMF21PW value
-
smf21nb
public int smf21nb()SMF21NB value.- Returns:
- int SMF21NB value
-
smf21erg
public int smf21erg()SMF21ERG value.- Returns:
- int SMF21ERG value
-
smf21cln
public int smf21cln()SMF21CLN value.- Returns:
- int SMF21CLN value
-
smf21den
public int smf21den()SMF21DEN value.- Returns:
- int SMF21DEN value
-
smf21625
public boolean smf21625()Return true ifsmf21den()
equalsSMF21625
.- Returns:
- boolean
smf21den()
equals SMF21625SMF21625 = 0xD3
-
smf21f62
public boolean smf21f62()Return true ifsmf21den()
equalsSMF21F62
.- Returns:
- boolean
smf21den()
equals SMF21F62SMF21F62 = 0xC2
-
smf21160
public boolean smf21160()Return true ifsmf21den()
equalsSMF21160
.- Returns:
- boolean
smf21den()
equals SMF21160SMF21160 = 0xC3
-
smf21f16
public boolean smf21f16()Return true ifsmf21den()
equalsSMF21F16
.- Returns:
- boolean
smf21den()
equals SMF21F16SMF21F16 = 0x42
-
smf21800
public boolean smf21800()Return true ifsmf21den()
equalsSMF21800
.- Returns:
- boolean
smf21den()
equals SMF21800SMF21800 = 0xCB
-
smf21780
public boolean smf21780()Return true ifsmf21den()
equalsSMF21780
.- Returns:
- boolean
smf21den()
equals SMF21780SMF21780 = 0x83
-
smf21556
public boolean smf21556()Return true ifsmf21den()
equalsSMF21556
.- Returns:
- boolean
smf21den()
equals SMF21556SMF21556 = 0x43
-
smf21200
public boolean smf21200()Return true ifsmf21den()
equalsSMF21200
.- Returns:
- boolean
smf21den()
equals SMF21200SMF21200 = 0x03
-
smf21bls
public int smf21bls()SMF21BLS value.- Returns:
- int SMF21BLS value
-
smf21ofl
public int smf21ofl()SMF21OFL value.- Returns:
- int SMF21OFL value
-
smf21out
public boolean smf21out()Return true ifSMF21OUT
bit insmf21ofl()
is set.- Returns:
- boolean SMF21OUT bit is set in smf21ofl()
SMF21OUT = 0x80
-
smf21rdb
public boolean smf21rdb()Return true ifSMF21RDB
bit insmf21ofl()
is set.- Returns:
- boolean SMF21RDB bit is set in smf21ofl()
SMF21RDB = 0x40
-
smf21tus
public int smf21tus()SMF21TUS value.- Returns:
- int SMF21TUS value
-
smf21trf
public int smf21trf()SMF21TRF value.- Returns:
- int SMF21TRF value
-
smf21trb
public int smf21trb()SMF21TRB value.- Returns:
- int SMF21TRB value
-
smf21twf
public int smf21twf()SMF21TWF value.- Returns:
- int SMF21TWF value
-
smf21br
public int smf21br()3 byte SMF21BR value.- Returns:
- int SMF21BR value
-
smf21bw
public int smf21bw()3 byte SMF21BW value.- Returns:
- int SMF21BW value
-
smf21fl1
public int smf21fl1()SMF21FL1 value.- Returns:
- int SMF21FL1 value
-
smf21nct
public boolean smf21nct()Return true ifSMF21NCT
bit insmf21fl1()
is set.- Returns:
- boolean SMF21NCT bit is set in smf21fl1()
SMF21NCT = 0x80
-
smf21ls
public boolean smf21ls()Return true ifSMF21LS
bit insmf21fl1()
is set.- Returns:
- boolean SMF21LS bit is set in smf21fl1()
SMF21LS = 0x40
-
smf21lb
public boolean smf21lb()Return true ifSMF21LB
bit insmf21fl1()
is set.- Returns:
- boolean SMF21LB bit is set in smf21fl1()
SMF21LB = 0x20
-
smf21dbv
public boolean smf21dbv()Return true ifSMF21DBV
bit insmf21fl1()
is set.- Returns:
- boolean SMF21DBV bit is set in smf21fl1()
SMF21DBV = 0x10
-
smf21mfv
public boolean smf21mfv()Return true ifSMF21MFV
bit insmf21fl1()
is set.- Returns:
- boolean SMF21MFV bit is set in smf21fl1()
SMF21MFV = 0x08
-
smf21cbc
public boolean smf21cbc()Return true ifSMF21CBC
bit insmf21fl1()
is set.- Returns:
- boolean SMF21CBC bit is set in smf21fl1()
SMF21CBC = 0x04
-
smf21fl2
public int smf21fl2()SMF21FL2 value.- Returns:
- int SMF21FL2 value
-
smf21brn
public long smf21brn()SMF21BRN value.- Returns:
- long SMF21BRN value
-
smf21bwn
public long smf21bwn()SMF21BWN value.- Returns:
- long SMF21BWN value
-
smf21lst
public long smf21lst()SMF21LST value.- Returns:
- long SMF21LST value
-
smf21lbs
public long smf21lbs()SMF21LBS value.- Returns:
- long SMF21LBS value
-
smf21dbr
public long smf21dbr()SMF21DBR value.- Returns:
- long SMF21DBR value
-
smf21dbw
public long smf21dbw()SMF21DBW value.- Returns:
- long SMF21DBW value
-
smf21mcr
public long smf21mcr()SMF21MCR value.- Returns:
- long SMF21MCR value
-
smf21mcw
public long smf21mcw()SMF21MCW value.- Returns:
- long SMF21MCW value
-
smf21mdr
public long smf21mdr()SMF21MDR value.- Returns:
- long SMF21MDR value
-
smf21mdw
public long smf21mdw()SMF21MDW value.- Returns:
- long SMF21MDW value
-