[Quickfix-developers] withinHeartBeat()
Brought to you by:
orenmnero
From: Daniel M. <Dan...@ma...> - 2003-12-03 00:55:25
|
Could someone explain why withinHeartBeat() is implemented as: bool withinHeartBeat() const { UtcTimeStamp now; return ( ( now - lastSentTime() ) < heartBtInt() ) && ( ( now - lastReceivedTime() ) < heartBtInt() ); } =20 rather than: bool withinHeartBeat() const { UtcTimeStamp now; return ( ( now - lastSentTime() ) < heartBtInt() ); } The FIX spec says the heartbeat interval is the time when the last message was sent, not sent AND received. Daniel May =20 |