paritytrading / philadelphia

Fast FIX protocol library for the JVM
Apache License 2.0
326 stars 96 forks source link

philadelphia-core: Refactor heartbeat timeout handling #318

Closed jvirtanen closed 2 years ago

jvirtanen commented 2 years ago

Replace the FIXConnectionStatusListener#heartbeatTimeout() method with a FIXHeartbeatTimeoutException class. The purpose of this change is to separate heartbeat timeout handling, which is implemented in the FIXConnection class, from other administrative message handling. This is in preparation of making it possible for applications to implement their own administrative message handling.