|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.asn1new.ber.tlv.TLVStateEnum
Stores the different states of a PDU parsing.
Field Summary | |
static int |
LENGTH_STATE_END
End means that the Length is totally read |
static int |
LENGTH_STATE_PENDING
Pending means that the Type length is contained in more that one byte |
static int |
LENGTH_STATE_START
Start means that the decoding hasn't read the first byte |
static int |
PDU_DECODED
The decoding of a PDU is done |
static int |
TAG_STATE_END
End means that the Type is totally read |
static int |
TAG_STATE_OVERFLOW
Overflow could have two meaning : either there are more than 5 bytes to encode the value (5 bytes = 5bits + 4*7 bits = 33 bits) or the value that is represented by those bytes is over MAX_INTEGER |
static int |
TAG_STATE_PENDING
Pending means that the Type Tag is contained in more that one byte |
static int |
TAG_STATE_START
Start means that the deconding hasn't read the first byte |
static int |
TLV_STATE_DONE
The decoding of a TLV is done |
static int |
VALUE_STATE_END
End means that the Value is totally read |
static int |
VALUE_STATE_PENDING
Pending means that the Type Value is contained in more that one byte |
static int |
VALUE_STATE_START
Start means that the decoding hasn't read the first byte |
Constructor Summary | |
TLVStateEnum()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TAG_STATE_START
public static final int TAG_STATE_PENDING
public static final int TAG_STATE_END
public static final int TAG_STATE_OVERFLOW
public static final int LENGTH_STATE_START
public static final int LENGTH_STATE_PENDING
public static final int LENGTH_STATE_END
public static final int VALUE_STATE_START
public static final int VALUE_STATE_PENDING
public static final int VALUE_STATE_END
public static final int TLV_STATE_DONE
public static final int PDU_DECODED
Constructor Detail |
public TLVStateEnum()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |