OnixS Eurex ETI Handler C++ library 9.29.0
Users' manual and API documentation
Loading...
Searching...
No Matches
Heartbeat Interval

Initial value for LogonRequest.HeartBtInt is set from HandlerSettings::sendingTimeoutMs.

Heartbeat interval 0 means that gateway will not take any action for skipped heartbeats (only allowed for non-production environments). If the value is not set, gateway will define the heartbeat interval.

When LogonResponse is received the Handler sets connection's receive data timeout according to the following formula:

\[ HeartBitInterval = LogonResponse_{HB} + LogonResponse_{HB} × T_r / 100 \]

Where,

  • \(LogonResponse_{HB}\) is the LogonResponse.HeartBtInt value'
  • \(T_r\) is the HandlerSettings::reasonableTransmissionTime used to allow users adjust heartbeat interval according to their requirements.

    \(T_r\) is 100 by default, so the Handler reports receiver inactivity after two heartbeat intervals without incoming data. The gateway can send its heartbeat notifications somewhat later than the interval, so a small \(T_r\) can drop a healthy session.

Timeout for data send will be set exactly to the value of LogonResponse.HeartBtInt without any modifications.