Interface ConnectionListener

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ConnectionListener
Connection listener.
Since:
1.7.5
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when connections state changes.
  • Method Details

    • onConnectionEvent

      void onConnectionEvent(ConnectionEvent event)
      Called when connections state changes.
      Parameters:
      event - connection event