Package org.apache.ignite.client

## Interface ClientDisconnectListener

-     public interface ClientDisconnectListener

  Client disconnected event listener. Such listeners can be used in `ClientCache.query(ContinuousQuery, ClientDisconnectListener)` or `ClientCache.registerCacheEntryListener(CacheEntryListenerConfiguration, ClientDisconnectListener)` methods to handle client channel failure.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onDisconnected​(Exception reason)` | Client disconnected callback.

- - ### Method Detail

    - #### onDisconnected

          void onDisconnected​(Exception reason)

      Client disconnected callback.
      Parameters:
        `reason` - Exception that caused the disconnect, can be `null`.