public interface ConnectionCallback
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Modifier and Type | Method and Description |
|---|---|
void |
closed(Connection con)
This method is called by the the connection when the connection
is closed.
|
void |
heartbeat(Connection con)
This method is called by the the connection when a heartbeat is
received from the peer.
|
static final long serialVersionUID
void heartbeat(Connection con)
con - The connection on which a heartbeat was received.void closed(Connection con)
con - The connection that closed.