public static enum TcpHandshake.HANDSHAKE_STATE extends Enum<TcpHandshake.HANDSHAKE_STATE>
| Enum Constant and Description |
|---|
ACK_RECV |
SYN_ACK_SENT |
SYN_RECV |
| Modifier and Type | Method and Description |
|---|---|
static TcpHandshake.HANDSHAKE_STATE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TcpHandshake.HANDSHAKE_STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TcpHandshake.HANDSHAKE_STATE SYN_RECV
public static final TcpHandshake.HANDSHAKE_STATE SYN_ACK_SENT
public static final TcpHandshake.HANDSHAKE_STATE ACK_RECV
public static TcpHandshake.HANDSHAKE_STATE[] values()
for (TcpHandshake.HANDSHAKE_STATE c : TcpHandshake.HANDSHAKE_STATE.values()) System.out.println(c);
public static TcpHandshake.HANDSHAKE_STATE 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 nullCopyright © 2020. All rights reserved.