0.9.0 (latest) 0.8.0 0.7.2 0.5.0 0.4.0 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle Client class ConnectionState.

The state of a network connection.

Protobuf type `google.backstory.Network.ConnectionState`

## Namespace

Google \\ Backstory \\ Network

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### CONNECTION_STATE_UNSPECIFIED

```php
Value: 0
```
The default connection state.

Generated from protobuf enum `CONNECTION_STATE_UNSPECIFIED = 0;`

### LISTENING

```php
Value: 1
```
The port is listening for incoming connections.

Generated from protobuf enum `LISTENING = 1;`

### ESTABLISHED

```php
Value: 2
```
A connection has been established.

Generated from protobuf enum `ESTABLISHED = 2;`

### TIME_WAIT

```php
Value: 3
```
The connection is waiting for a timeout.

Generated from protobuf enum `TIME_WAIT = 3;`

### CLOSE_WAIT

```php
Value: 4
```
The connection is waiting for a connection termination request from the
local application.

Generated from protobuf enum `CLOSE_WAIT = 4;`

### CLOSED

```php
Value: 5
```
The connection is closed.

Generated from protobuf enum `CLOSED = 5;`

### SYN_SENT

```php
Value: 6
```
A connection request has been sent.

Generated from protobuf enum `SYN_SENT = 6;`

### SYN_RECEIVED

```php
Value: 7
```
A connection request has been received.

Generated from protobuf enum `SYN_RECEIVED = 7;`

### FIN_WAIT1

```php
Value: 8
```
The connection is waiting for a connection termination request from the
remote host.

Generated from protobuf enum `FIN_WAIT1 = 8;`

### FIN_WAIT2

```php
Value: 9
```
The connection is waiting for a connection termination request from the
local application.

Generated from protobuf enum `FIN_WAIT2 = 9;`

### LAST_ACK

```php
Value: 10
```
The connection is waiting for an acknowledgment of the final connection
termination request.

Generated from protobuf enum `LAST_ACK = 10;`