Architecture Diagrams for /jnidzwetzki/bitfinex-v2-wss-api-java[edit]
Packages / Module bitfinex-v2-wss-api / com.github.jnidzwetzki.bitfinex.v2 / HeartbeatThread

class HeartbeatThread

Class fields and methods
class HeartbeatThread
constructor HeartbeatThread(bitfinexApiBroker,websocketClientEndpoint,lastHeartbeatSupplier)
method checkConnectionTimeout()
S
method checkTickerFreshness(heartbeatValues)
method checkTickerFreshness()
method executeReconnect()
method runThread()
method sendHeartbeatIfNeeded()
new heartbeat thread constructor
Check for connection timeout
Are all ticker up-to-date
Are all tickers up-to-date
Execute the reconnect
Send a heartbeat package on the connection