jist.swans
Class Constants.TCPSTATES

java.lang.Object
  extended by jist.swans.Constants.TCPSTATES
Enclosing class:
Constants

public final class Constants.TCPSTATES
extends java.lang.Object

TCP States.


Field Summary
static int CLOSE_WAIT
          TCP state: CLOSE-WAIT - represents waiting for a connection termination request from the local user.
static int CLOSED
          TCP state: CLOSED - represents no connection state at all.
static int CLOSING
          TCP state: CLOSING - represents waiting for a connection termination request acknowledgment from the remote TCP.
static int ESTABLISHED
          TCP state: ESTABLISHED - represents an open connection, data received can be delivered to the user.
static int FIN_WAIT_1
          TCP state: FIN-WAIT-1 - represents waiting for a connection termination request from the remote TCP, or an acknowledgment of the connection termination request previously sent.
static int FIN_WAIT_2
          TCP state: FIN-WAIT-2 - represents waiting for a connection termination request from the remote TCP.
static int LAST_ACK
          TCP state: LAST-ACK - represents waiting for an acknowledgment of the connection termination request previously sent to the remote TCP (which includes an acknowledgment of its connection termination request).
static int LISTEN
          TCP state: LISTEN - represents waiting for a connection request from any remote TCP and port.
static int SYN_RECEIVED
          TCP state: SYN-RECEIVED - represents waiting for a confirming connection request acknowledgment after having both received and sent a connection request.
static int SYN_SENT
          TCP state: SYN-SENT - represents waiting for a matching connection request after having sent a connection request.
static int TIME_WAIT
          TCP state: TIME-WAIT - represents waiting for enough time to pass to be sure the remote TCP received the acknowledgment of its connection termination request.
 
Constructor Summary
Constants.TCPSTATES()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LISTEN

public static final int LISTEN
TCP state: LISTEN - represents waiting for a connection request from any remote TCP and port.

See Also:
Constant Field Values

SYN_SENT

public static final int SYN_SENT
TCP state: SYN-SENT - represents waiting for a matching connection request after having sent a connection request.

See Also:
Constant Field Values

SYN_RECEIVED

public static final int SYN_RECEIVED
TCP state: SYN-RECEIVED - represents waiting for a confirming connection request acknowledgment after having both received and sent a connection request.

See Also:
Constant Field Values

ESTABLISHED

public static final int ESTABLISHED
TCP state: ESTABLISHED - represents an open connection, data received can be delivered to the user. The normal state for the data transfer phase of the connection.

See Also:
Constant Field Values

FIN_WAIT_1

public static final int FIN_WAIT_1
TCP state: FIN-WAIT-1 - represents waiting for a connection termination request from the remote TCP, or an acknowledgment of the connection termination request previously sent.

See Also:
Constant Field Values

FIN_WAIT_2

public static final int FIN_WAIT_2
TCP state: FIN-WAIT-2 - represents waiting for a connection termination request from the remote TCP.

See Also:
Constant Field Values

CLOSE_WAIT

public static final int CLOSE_WAIT
TCP state: CLOSE-WAIT - represents waiting for a connection termination request from the local user.

See Also:
Constant Field Values

CLOSING

public static final int CLOSING
TCP state: CLOSING - represents waiting for a connection termination request acknowledgment from the remote TCP.

See Also:
Constant Field Values

LAST_ACK

public static final int LAST_ACK
TCP state: LAST-ACK - represents waiting for an acknowledgment of the connection termination request previously sent to the remote TCP (which includes an acknowledgment of its connection termination request).

See Also:
Constant Field Values

TIME_WAIT

public static final int TIME_WAIT
TCP state: TIME-WAIT - represents waiting for enough time to pass to be sure the remote TCP received the acknowledgment of its connection termination request.

See Also:
Constant Field Values

CLOSED

public static final int CLOSED
TCP state: CLOSED - represents no connection state at all.

See Also:
Constant Field Values
Constructor Detail

Constants.TCPSTATES

public Constants.TCPSTATES()