com.hazelcast.nio.tcp

## Class TcpIpEndpointManager.EndpointConnectionLifecycleListener

- java.lang.Object
- - com.hazelcast.nio.tcp.TcpIpEndpointManager.EndpointConnectionLifecycleListener

- All Implemented Interfaces:
    ConnectionLifecycleListener<TcpIpConnection>
  Enclosing class:
    TcpIpEndpointManager

      public final class TcpIpEndpointManager.EndpointConnectionLifecycleListener
      extends Object
      implements ConnectionLifecycleListener<TcpIpConnection>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EndpointConnectionLifecycleListener()`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EndpointConnectionLifecycleListener

          public EndpointConnectionLifecycleListener()

  - ### Method Detail

    - #### onConnectionClose

          public void onConnectionClose(TcpIpConnection connection,
                                        Throwable t,
                                        boolean silent)

      Description copied from interface: `ConnectionLifecycleListener`
      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.
      Specified by:
        `onConnectionClose` in interface `ConnectionLifecycleListener<TcpIpConnection>`

Copyright © 2019. All rights reserved.