Modifier and Type | Field and Description |
---|---|
protected static java.nio.charset.Charset |
LATIN1 |
protected static byte |
LATIN1_ZERO |
Constructor and Description |
---|
StatusField() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
encodeStatus(int s)
Utility method that takes a status code integer and returns the associated
descriptive text.
|
int |
getValue()
This returns the value of this status field as an integer status code.
|
void |
setValue(int v)
Sets the value of this status field using the specified status code integer.
|
protected static final java.nio.charset.Charset LATIN1
protected static final byte LATIN1_ZERO
public int getValue()
Message.Status
public void setValue(int v)
v
- The status code integer.Message.Status
public static final java.lang.String encodeStatus(int s)
s
- The status code integer to be encoded.