@FunctionalInterface public interface HeartbeatListener
| Modifier and Type | Method and Description |
|---|---|
default long |
lingerTimeBeforeDisconnect()
If the above returned true, this method should provide the amount of time TcpHandler should wait before condsidering connection dead.
|
boolean |
onMissedHeartbeat()
called when we don't receive a heartbeat ( or in some cases any message )
|
boolean onMissedHeartbeat()
default long lingerTimeBeforeDisconnect()
Copyright © 2023. All rights reserved.