Package com.zeroc.Ice

Interface CloseCallback

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 CloseCallback
An application can implement this interface to receive notifications when a connection closes.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method is called by the connection when the connection is closed.
  • Method Details

    • closed

      void closed(Connection con)
      This method is called by the connection when the connection is closed. If the callback needs more information about the closure, it can call Connection.throwException().
      Parameters:
      con - The connection that closed.