Session Scheduler exposes the OnixS::B3::BOE::Scheduling::SessionConnectionSettings class to define the connection related parameters, required to establish the FIXP session successfully. The OnixS::B3::BOE::Scheduling::SessionConnectionSettings class is targeted to provide users with a handy way of defining connection-related parameters for sessions appropriately.
When a session is connected, at least hostname and TCP port of the counterparty must be specified. For this reason, all constructors of the OnixS::B3::BOE::Scheduling::SessionConnectionSettings class require counterparty hostname and TCP port parameters.
Sometimes a session's counterparty may be out of service, causing session logon failure. B3 systems provide secondary servers, which can be connected while primary servers are down. To support such cases, OnixS::B3::BOE::Scheduling::SessionConnectionSettings class exposes the OnixS::B3::BOE::Scheduling::SessionConnectionSettings::addCounterparty member, which allows defining secondary servers, that will be connected in case of the connection failure to the primary server. Also, Scheduler remembers last good connection settings (counterparty). Therefore, since the next time connection must be established, it will use the last good configuration.