com.hazelcast.nio

## Interface ConnectionListenable

- All Known Subinterfaces:
    ClientConnectionManager, ConnectionManager
  All Known Implementing Classes:
    ClientConnectionManagerImpl, TcpIpConnectionManager

      @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 © 2018. All rights reserved.