Package com.zeroc.Ice
Interface HeartbeatCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An application can implement this interface to receive notifications when
a connection receives a heartbeat message.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
heartbeat
(Connection con) This method is called by the the connection when a heartbeat is received from the peer.
-
Method Details
-
heartbeat
This method is called by the the connection when a heartbeat is received from the peer.- Parameters:
con
- The connection on which a heartbeat was received.
-