Skip to main content

Enum ConnectionState

Syntax
public enum ConnectionState

Fields

Created

Initial state

Declaration
Created = 1

Connecting

Client is connecting to server

Declaration
Connecting = 2

Connected

Server as accepted connection

Declaration
Connected = 3

Disconnected

Server or client has disconnected the connection and is waiting to be cleaned up

Declaration
Disconnected = 9

Removing

Marked to be removed from the connection collection

Declaration
Removing = 10

Destroyed

Removed from collection and all state cleaned up

Declaration
Destroyed = 11