Skip to main content
Version: v2

ConnectionState Enum

The state of the Container's connection to the service.

Signature​

export declare enum ConnectionState

Flags​

FlagDescription
CatchingUpThe container has an inbound connection only, and is catching up to the latest known state from the service.
ConnectedThe container is fully connected and syncing
DisconnectedThe container is not connected to the ordering service Note - When in this state the container may be about to reconnect, or may remain disconnected until explicitly told to connect.
EstablishingConnectionThe container is disconnected but actively trying to establish a new connection PLEASE NOTE that this numerical value falls out of the order you may expect for this state

CatchingUp​

The container has an inbound connection only, and is catching up to the latest known state from the service.

Signature​

CatchingUp = 1

Connected​

The container is fully connected and syncing

Signature​

Connected = 2

Disconnected​

The container is not connected to the ordering service Note - When in this state the container may be about to reconnect, or may remain disconnected until explicitly told to connect.

Signature​

Disconnected = 0

EstablishingConnection​

The container is disconnected but actively trying to establish a new connection PLEASE NOTE that this numerical value falls out of the order you may expect for this state

Signature​

EstablishingConnection = 3