java.lang.Object
com.blackhillsoftware.smf.Data
com.blackhillsoftware.smf.SmfData
com.blackhillsoftware.smf.security.Token
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Constant: 0x04 = 4static final int
Constant: 0x13 = 19static final int
Constant: 0x07 = 7static final int
Constant: 0x02 = 2static final int
Constant: 0x02 = 2static final int
Constant: 0x03 = 3static final int
Constant: 0x50 = 80static final int
Constant: 0x01 = 1static final int
Constant: 0x80 = 128static final int
Constant: 0x80 = 128static final int
Constant: 0x40 = 64static final int
Constant: 0x0C = 12static final int
Constant: 0x80 = 128static final int
Constant: 0x10 = 16static final int
Constant: 0x10 = 16static final int
Constant: 0x15 = 21static final int
Constant: 0x10 = 16static final int
Constant: 0x03 = 3static final int
Constant: 0x04 = 4static final int
Constant: 0x15 = 21static final int
Constant: 0x20 = 32static final int
Constant: 0x05 = 5static final int
Constant: 0x0E = 14static final int
Constant: 0x20 = 32static final int
Constant: 0x0A = 10static final int
Constant: 0x0B = 11static final int
Constant: 0x0F = 15static final int
Constant: 0x12 = 18static final int
Constant: 0x14 = 20static final int
Constant: 0x01 = 1static final int
Constant: 0x0D = 13static final int
Constant: 0x02 = 2static final int
Constant: 0x09 = 9static final int
Constant: 0x02 = 2static final int
Constant: 0x11 = 17static final int
Constant: 0x01 = 1static final int
Constant: 0x05 = 5static final int
Constant: 0x04 = 4static final int
Constant: 0x04 = 4static final int
Constant: 0x01 = 1static final int
Constant: 0x08 = 8static final int
Constant: 0x06 = 6static final int
Constant: 0x40 = 64static final int
Constant: 0x08 = 8static final int
Constant: 0x01 = 1static final int
Constant: 0x10 = 16static final int
Constant: 0x08 = 8static final int
Constant: 0x08 = 8 -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Token
create
(byte[] Data, int offset, int length) create is intended for internal use only.boolean
tokdflt()
boolean
tokdgrp()
boolean
tokdsec()
boolean
tokencr()
boolean
tokerr()
int
tokflg1()
TOKFLG1 value.int
tokflg2()
TOKFLG2 value.int
tokflg3()
TOKFLG3 value.tokgrup()
TOKGRUP value.tokiplok()
TOKIPLOK value.boolean
tokipv()
int
toklen()
TOKLEN value.boolean
toklogu()
boolean
toklt19()
boolean
toknetf()
toknetw()
TOKNETW value.tokpoe()
TOKPOE value.int
tokpoex()
TOKPOEX value.boolean
tokpriv()
boolean
tokremot()
boolean
tokrspec()
tokscl()
TOKSCL value.toksgrp()
TOKSGRP value.toksnod()
TOKSNOD value.int
tokstyp()
TOKSTYP value.boolean
toksus()
toksusr()
TOKSUSR value.boolean
toktrst()
boolean
tokudus()
boolean
tokunusr()
tokuser()
TOKUSER value.int
tokvers()
TOKVERS value.boolean
tokvxprp()
boolean
tokwdwn()
tokxnod()
TOKXNOD value.Methods inherited from class com.blackhillsoftware.smf.SmfData
createSection, getTriplet
-
Field Details
-
TOKVER01
public static final int TOKVER01Constant: 0x01 = 1- See Also:
-
TOKCVER
public static final int TOKCVERConstant: 0x01 = 1- See Also:
-
TOKENCR
public static final int TOKENCRConstant: 0x80 = 128- See Also:
-
TOKLT19
public static final int TOKLT19Constant: 0x20 = 32- See Also:
-
TOKVXPRP
public static final int TOKVXPRPConstant: 0x10 = 16- See Also:
-
TOKUNUSR
public static final int TOKUNUSRConstant: 0x08 = 8- See Also:
-
TOKLOGU
public static final int TOKLOGUConstant: 0x04 = 4- See Also:
-
TOKRSPEC
public static final int TOKRSPECConstant: 0x02 = 2- See Also:
-
TOKSAS
public static final int TOKSASConstant: 0x01 = 1- See Also:
-
TOKCMND
public static final int TOKCMNDConstant: 0x02 = 2- See Also:
-
TOKCONS
public static final int TOKCONSConstant: 0x03 = 3- See Also:
-
TOKSTP
public static final int TOKSTPConstant: 0x04 = 4- See Also:
-
TOKMNT
public static final int TOKMNTConstant: 0x05 = 5- See Also:
-
TOKTSO
public static final int TOKTSOConstant: 0x06 = 6- See Also:
-
TOKBCH
public static final int TOKBCHConstant: 0x07 = 7- See Also:
-
TOKXBM
public static final int TOKXBMConstant: 0x08 = 8- See Also:
-
TOKRJE
public static final int TOKRJEConstant: 0x09 = 9- See Also:
-
TOKNJE
public static final int TOKNJEConstant: 0x0A = 10- See Also:
-
TOKNJEUS
public static final int TOKNJEUSConstant: 0x0B = 11- See Also:
-
TOKEBCH
public static final int TOKEBCHConstant: 0x0C = 12- See Also:
-
TOKRBCH
public static final int TOKRBCHConstant: 0x0D = 13- See Also:
-
TOKNBCH
public static final int TOKNBCHConstant: 0x0E = 14- See Also:
-
TOKNSYS
public static final int TOKNSYSConstant: 0x0F = 15- See Also:
-
TOKEXBM
public static final int TOKEXBMConstant: 0x10 = 16- See Also:
-
TOKRXBM
public static final int TOKRXBMConstant: 0x11 = 17- See Also:
-
TOKNXBM
public static final int TOKNXBMConstant: 0x12 = 18- See Also:
-
TOKAPPC
public static final int TOKAPPCConstant: 0x13 = 19- See Also:
-
TOKOSRV
public static final int TOKOSRVConstant: 0x14 = 20- See Also:
-
TOKIP
public static final int TOKIPConstant: 0x15 = 21- See Also:
-
TOKLSESS
public static final int TOKLSESSConstant: 0x15 = 21- See Also:
-
TOKDFLT
public static final int TOKDFLTConstant: 0x80 = 128- See Also:
-
TOKUDUS
public static final int TOKUDUSConstant: 0x40 = 64- See Also:
-
TOKERR
public static final int TOKERRConstant: 0x10 = 16- See Also:
-
TOKTRST
public static final int TOKTRSTConstant: 0x08 = 8- See Also:
-
TOKSUS
public static final int TOKSUSConstant: 0x04 = 4- See Also:
-
TOKREMOT
public static final int TOKREMOTConstant: 0x02 = 2- See Also:
-
TOKPRIV
public static final int TOKPRIVConstant: 0x01 = 1- See Also:
-
TOKTERM
public static final int TOKTERMConstant: 0x01 = 1- See Also:
-
TOKCON
public static final int TOKCONConstant: 0x02 = 2- See Also:
-
TOKJESI
public static final int TOKJESIConstant: 0x03 = 3- See Also:
-
TOKAPORT
public static final int TOKAPORTConstant: 0x04 = 4- See Also:
-
TOKSERV
public static final int TOKSERVConstant: 0x05 = 5- See Also:
-
TOKDGRP
public static final int TOKDGRPConstant: 0x80 = 128- See Also:
-
TOKDSEC
public static final int TOKDSECConstant: 0x40 = 64- See Also:
-
TOKNETF
public static final int TOKNETFConstant: 0x20 = 32- See Also:
-
TOKIPV
public static final int TOKIPVConstant: 0x10 = 16- See Also:
-
TOKWDWN
public static final int TOKWDWNConstant: 0x08 = 8- See Also:
-
TOKCURLN
public static final int TOKCURLNConstant: 0x50 = 80- See Also:
-
-
Constructor Details
-
Token
public Token(byte[] Data)
-
-
Method Details
-
toklen
public int toklen()TOKLEN value.- Returns:
- int TOKLEN value
-
tokvers
public int tokvers()TOKVERS value.- Returns:
- int TOKVERS value
-
tokflg1
public int tokflg1()TOKFLG1 value.- Returns:
- int TOKFLG1 value
-
tokencr
public boolean tokencr()- Returns:
- boolean TOKENCR bit is set in tokflg1()
TOKENCR = 0x80
-
toklt19
public boolean toklt19()- Returns:
- boolean TOKLT19 bit is set in tokflg1()
TOKLT19 = 0x20
-
tokvxprp
public boolean tokvxprp()- Returns:
- boolean TOKVXPRP bit is set in tokflg1()
TOKVXPRP = 0x10
-
tokunusr
public boolean tokunusr()- Returns:
- boolean TOKUNUSR bit is set in tokflg1()
TOKUNUSR = 0x08
-
toklogu
public boolean toklogu()- Returns:
- boolean TOKLOGU bit is set in tokflg1()
TOKLOGU = 0x04
-
tokrspec
public boolean tokrspec()- Returns:
- boolean TOKRSPEC bit is set in tokflg1()
TOKRSPEC = 0x02
-
tokstyp
public int tokstyp()TOKSTYP value.- Returns:
- int TOKSTYP value
-
tokflg2
public int tokflg2()TOKFLG2 value.- Returns:
- int TOKFLG2 value
-
tokdflt
public boolean tokdflt()- Returns:
- boolean TOKDFLT bit is set in tokflg2()
TOKDFLT = 0x80
-
tokudus
public boolean tokudus()- Returns:
- boolean TOKUDUS bit is set in tokflg2()
TOKUDUS = 0x40
-
tokerr
public boolean tokerr()- Returns:
- boolean TOKERR bit is set in tokflg2()
TOKERR = 0x10
-
toktrst
public boolean toktrst()- Returns:
- boolean TOKTRST bit is set in tokflg2()
TOKTRST = 0x08
-
toksus
public boolean toksus()- Returns:
- boolean TOKSUS bit is set in tokflg2()
TOKSUS = 0x04
-
tokremot
public boolean tokremot()- Returns:
- boolean TOKREMOT bit is set in tokflg2()
TOKREMOT = 0x02
-
tokpriv
public boolean tokpriv()- Returns:
- boolean TOKPRIV bit is set in tokflg2()
TOKPRIV = 0x01
-
tokpoex
public int tokpoex()TOKPOEX value.- Returns:
- int TOKPOEX value
-
tokflg3
public int tokflg3()TOKFLG3 value.- Returns:
- int TOKFLG3 value
-
tokdgrp
public boolean tokdgrp()- Returns:
- boolean TOKDGRP bit is set in tokflg3()
TOKDGRP = 0x80
-
tokdsec
public boolean tokdsec()- Returns:
- boolean TOKDSEC bit is set in tokflg3()
TOKDSEC = 0x40
-
toknetf
public boolean toknetf()- Returns:
- boolean TOKNETF bit is set in tokflg3()
TOKNETF = 0x20
-
tokipv
public boolean tokipv()- Returns:
- boolean TOKIPV bit is set in tokflg3()
TOKIPV = 0x10
-
tokwdwn
public boolean tokwdwn()- Returns:
- boolean TOKWDWN bit is set in tokflg3()
TOKWDWN = 0x08
-
tokscl
TOKSCL value.- Returns:
- String TOKSCL value
-
tokxnod
TOKXNOD value.- Returns:
- String TOKXNOD value
-
toksusr
TOKSUSR value.- Returns:
- String TOKSUSR value
-
toksnod
TOKSNOD value.- Returns:
- String TOKSNOD value
-
toksgrp
TOKSGRP value.- Returns:
- String TOKSGRP value
-
tokiplok
TOKIPLOK value.- Returns:
- String TOKIPLOK value
-
tokpoe
TOKPOE value.- Returns:
- String TOKPOE value
-
toknetw
TOKNETW value.- Returns:
- String TOKNETW value
-
tokuser
TOKUSER value.- Returns:
- String TOKUSER value
-
tokgrup
TOKGRUP value.- Returns:
- String TOKGRUP value
-
create
create is intended for internal use only. Instances of this section are created by the parent record or section.- Parameters:
Data
- Array of bytes containing data for this sectionoffset
- Offset of this section in the datalength
- length of the section
-