public enum PseudoTcpState extends Enum<PseudoTcpState>
Enum Constant and Description |
---|
TCP_CLOSED
Closed state.
|
TCP_ESTABLISHED
SYN sent and received - connection established
|
TCP_LISTEN
Initial state, can accept connection
|
TCP_SYN_RECEIVED
SYN received from remote peer, sends back SYN
|
TCP_SYN_SENT
SYN sent to remote peer, wits for SYN
|
Modifier and Type | Method and Description |
---|---|
static PseudoTcpState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PseudoTcpState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PseudoTcpState TCP_LISTEN
public static final PseudoTcpState TCP_SYN_SENT
public static final PseudoTcpState TCP_SYN_RECEIVED
public static final PseudoTcpState TCP_ESTABLISHED
public static final PseudoTcpState TCP_CLOSED
public static PseudoTcpState[] values()
for (PseudoTcpState c : PseudoTcpState.values()) System.out.println(c);
public static PseudoTcpState 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 © 2018. All rights reserved.