Module: KubeMQ::ConnectionState

Defined in:
lib/kubemq/types.rb

Overview

Transport connection lifecycle states.

Used by the internal Transport::ConnectionStateMachine to track the gRPC channel state. Inspect via BaseClient diagnostics.

Constant Summary collapse

IDLE =

Initial state before any connection attempt.

:idle
CONNECTING =

A connection attempt is in progress.

:connecting
READY =

Connected and ready to send/receive messages.

:ready
RECONNECTING =

Disconnected and attempting to reconnect.

:reconnecting
CLOSED =

Permanently closed; no further operations are possible.

:closed