Interface ChannelsPair.CloseCallback

Enclosing class:
ChannelsPair

public static interface ChannelsPair.CloseCallback
A callback invoked upon closing the connection.
  • Method Details

    • onClose

      void onClose(Exception exception)
      Invoked when the ChannelsPair.close(Exception) is called.
      Parameters:
      exception - an optional exception that may have cause the close, may be null.