Enum Network.ConnectionState (0.3.0)

public enum Network.ConnectionState extends Enum<Network.ConnectionState> implements ProtocolMessageEnum

The state of a network connection.

Protobuf enum google.backstory.Network.ConnectionState

Implements

ProtocolMessageEnum

Static Fields

Name Description
CLOSED

The connection is closed.

CLOSED = 5;

CLOSED_VALUE

The connection is closed.

CLOSED = 5;

CLOSE_WAIT

The connection is waiting for a connection termination request from the local application.

CLOSE_WAIT = 4;

CLOSE_WAIT_VALUE

The connection is waiting for a connection termination request from the local application.

CLOSE_WAIT = 4;

CONNECTION_STATE_UNSPECIFIED

The default connection state.

CONNECTION_STATE_UNSPECIFIED = 0;

CONNECTION_STATE_UNSPECIFIED_VALUE

The default connection state.

CONNECTION_STATE_UNSPECIFIED = 0;

ESTABLISHED

A connection has been established.

ESTABLISHED = 2;

ESTABLISHED_VALUE

A connection has been established.

ESTABLISHED = 2;

FIN_WAIT1

The connection is waiting for a connection termination request from the remote host.

FIN_WAIT1 = 8;

FIN_WAIT1_VALUE

The connection is waiting for a connection termination request from the remote host.

FIN_WAIT1 = 8;

FIN_WAIT2

The connection is waiting for a connection termination request from the local application.

FIN_WAIT2 = 9;

FIN_WAIT2_VALUE

The connection is waiting for a connection termination request from the local application.

FIN_WAIT2 = 9;

LAST_ACK

The connection is waiting for an acknowledgment of the final connection termination request.

LAST_ACK = 10;

LAST_ACK_VALUE

The connection is waiting for an acknowledgment of the final connection termination request.

LAST_ACK = 10;

LISTENING

The port is listening for incoming connections.

LISTENING = 1;

LISTENING_VALUE

The port is listening for incoming connections.

LISTENING = 1;

SYN_RECEIVED

A connection request has been received.

SYN_RECEIVED = 7;

SYN_RECEIVED_VALUE

A connection request has been received.

SYN_RECEIVED = 7;

SYN_SENT

A connection request has been sent.

SYN_SENT = 6;

SYN_SENT_VALUE

A connection request has been sent.

SYN_SENT = 6;

TIME_WAIT

The connection is waiting for a timeout.

TIME_WAIT = 3;

TIME_WAIT_VALUE

The connection is waiting for a timeout.

TIME_WAIT = 3;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()