When the session is in the active state, and there are some network issues, the Handler will try to restore the connection per OnixS::ICE::BOE::SessionSettings::reconnectAttempts and OnixS::ICE::BOE::SessionSettings::reconnectInterval settings.
When a network error is detected, the session changes its state to OnixS::ICE::BOE::SessionStateId::Reconnecting and tries to re-establish the connection OnixS::ICE::BOE::SessionSettings::reconnectAttempts() times with the OnixS::ICE::BOE::SessionSettings::reconnectInterval() delays between attempts.
When a BGW session is reconnected during the same trading session, the Handler restores the transport connection and sends a new LogonRequest for the same BOE session. This is a session reconnect, not a full session reset.
During reconnect within the same trading session:
This matches the ICE technical specification for same-session reconnect behavior.
After reconnect, the Handler waits for LogonReport and compares its sequenceId with the locally expected inbound sequence number.
When a gap is detected, the session moves to OnixS::ICE::BOE::SessionStateId::WaitForRetransmission.
The Handler then:
Reconnect of the BOE session does not automatically repeat trader logon.
If the application needs trader-level recovery, it should handle OnixS::ICE::BOE::Messaging::TraderLogonRequest explicitly and process the resulting OnixS::ICE::BOE::Messaging::TraderLogonReport messages as part of its reconnect workflow.
See Trader Logon for trader-level behavior and replay of GTC/GTD state.