com.hazelcast.nio

## Interface ConnectionListenable

- All Known Subinterfaces:
    AggregateEndpointManager, ClientConnectionManager, EndpointManager<T>
  All Known Implementing Classes:
    ClientConnectionManagerImpl, DefaultAggregateEndpointManager, TcpIpEndpointManager, UnifiedAggregateEndpointManager

      @PrivateApi
      public interface ConnectionListenable

  Provides connection listen capabilities.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addConnectionListener(ConnectionListener listener)` Registers a ConnectionListener.

- - ### Method Detail

    - #### addConnectionListener

          void addConnectionListener(ConnectionListener listener)

      Registers a ConnectionListener. If the same listener is registered multiple times, it will be notified multiple times.
      Parameters:
        `listener` - the ConnectionListener to add.
      Throws:
        `NullPointerException` - if listener is null.

Copyright © 2019. All rights reserved.