public class TLVStateEnum extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
TLVStateEnum() |
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
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.