public static enum Status.StatusBit extends Enum<Status.StatusBit>
Status is a bit field used to indicate the message state. Status is a 1-byte unsigned char. The following Status bit flags are defined.
| Enum Constant and Description |
|---|
EOM |
IGNORE |
NORMAL |
RESET_CONNECTION
RESETCONNECTION
|
RESET_CONNECTION_SKIP_TRAN
RESETCONNECTIONSKIPTRAN
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBits() |
static Status.StatusBit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status.StatusBit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Status.StatusBit NORMAL
public static final Status.StatusBit EOM
public static final Status.StatusBit IGNORE
public static final Status.StatusBit RESET_CONNECTION
public static final Status.StatusBit RESET_CONNECTION_SKIP_TRAN
public static Status.StatusBit[] values()
for (Status.StatusBit c : Status.StatusBit.values()) System.out.println(c);
public static Status.StatusBit valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getBits()
Copyright © 2023. All rights reserved.