Skip to main content

ConnectionState Enum

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

Signature

export declare enum ConnectionState

Flags

Flag Description
CatchingUp The container has an inbound connection only, and is catching up to the latest known state from the service.
Connected The container is fully connected and syncing
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.
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

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