MCP Server Framework - v1.0.0
    Preparing search index...

    Variable ConnectionStateLogMessagesConst

    ConnectionStateLogMessages: {
        CLIENT_DISCONNECT_ERROR: "Client disconnect failed (ignored): %s";
        CONNECTED: "Successfully connected to API server";
        CONNECTING: "Initiating connection to API server";
        DISCONNECTED: "Disconnected from API server";
        ERROR_STATE: "Connection error: %s";
        HEALTH_CHECK_FAILED: "Health check failed: %s";
        HEALTH_CHECK_SKIPPED: "Health check skipped";
        HEALTH_CHECK_START: "Starting health check";
        HEALTH_CHECK_SUCCESS: "Health check passed";
        HEALTH_CHECK_TIMEOUT: "Health check timed out after %dms";
        INVALID_TRANSITION: "Invalid state transition: %s → %s (allowed from %s: %s)";
        LISTENER_ADDED: "State change listener added";
        LISTENER_ERROR: "Listener threw error: %s";
        LISTENER_REMOVED: "State change listener removed";
        LISTENERS_CLEARED: "All listeners cleared";
        RECONNECT_ABORTED: "Reconnect aborted";
        RECONNECT_ATTEMPT: "Reconnect attempt %d/%d in %dms";
        RECONNECT_DISABLED: "Auto-reconnect disabled";
        RECONNECT_ENABLED: "Auto-reconnect enabled (maxRetries=%d, initialDelay=%dms, maxDelay=%dms)";
        RECONNECT_EXHAUSTED: "All %d reconnect attempts exhausted — staying in error state";
        RECONNECT_FAILED: "Reconnect attempt %d/%d failed: %s";
        RECONNECT_SUCCESS: "Reconnect succeeded after %d attempt(s)";
        RESET: "Connection state manager reset to initial state";
        STATE_CHANGE: "State transition: %s → %s";
    } = ...

    Centralized log messages for connection state management.

    Type Declaration

    • ReadonlyCLIENT_DISCONNECT_ERROR: "Client disconnect failed (ignored): %s"
    • ReadonlyCONNECTED: "Successfully connected to API server"
    • ReadonlyCONNECTING: "Initiating connection to API server"
    • ReadonlyDISCONNECTED: "Disconnected from API server"
    • ReadonlyERROR_STATE: "Connection error: %s"
    • ReadonlyHEALTH_CHECK_FAILED: "Health check failed: %s"
    • ReadonlyHEALTH_CHECK_SKIPPED: "Health check skipped"
    • ReadonlyHEALTH_CHECK_START: "Starting health check"
    • ReadonlyHEALTH_CHECK_SUCCESS: "Health check passed"
    • ReadonlyHEALTH_CHECK_TIMEOUT: "Health check timed out after %dms"
    • ReadonlyINVALID_TRANSITION: "Invalid state transition: %s → %s (allowed from %s: %s)"
    • ReadonlyLISTENER_ADDED: "State change listener added"
    • ReadonlyLISTENER_ERROR: "Listener threw error: %s"
    • ReadonlyLISTENER_REMOVED: "State change listener removed"
    • ReadonlyLISTENERS_CLEARED: "All listeners cleared"
    • ReadonlyRECONNECT_ABORTED: "Reconnect aborted"
    • ReadonlyRECONNECT_ATTEMPT: "Reconnect attempt %d/%d in %dms"
    • ReadonlyRECONNECT_DISABLED: "Auto-reconnect disabled"
    • ReadonlyRECONNECT_ENABLED: "Auto-reconnect enabled (maxRetries=%d, initialDelay=%dms, maxDelay=%dms)"
    • ReadonlyRECONNECT_EXHAUSTED: "All %d reconnect attempts exhausted — staying in error state"
    • ReadonlyRECONNECT_FAILED: "Reconnect attempt %d/%d failed: %s"
    • ReadonlyRECONNECT_SUCCESS: "Reconnect succeeded after %d attempt(s)"
    • ReadonlyRESET: "Connection state manager reset to initial state"
    • ReadonlySTATE_CHANGE: "State transition: %s → %s"