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.

@FunctionalInterface public interface HeartbeatCallback
An application can implement this interface to receive notifications when a connection receives a heartbeat message.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called by the the connection when a heartbeat is received from the peer.
  • Method Details

    • heartbeat

      void heartbeat(Connection con)
      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.