com.hazelcast.nio

## Interface ConnectionLifecycleListener<T extends Connection>

- All Known Implementing Classes:
    TcpIpEndpointManager.EndpointConnectionLifecycleListener

      public interface ConnectionLifecycleListener<T extends Connection>

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onConnectionClose(T connection, Throwable t, boolean silent)` Deals with cleaning up a closed connection.

- - ### Method Detail

    - #### onConnectionClose

          void onConnectionClose(T connection,
                                 Throwable t,
                                 boolean silent)

      Deals with cleaning up a closed connection. This method should only be called once by the `Connection.close(String, Throwable)` method where it is protected against multiple closes.

Copyright © 2019. All rights reserved.