Interface ReconnectListener

  • All Superinterfaces:
    GloballyAttachableListener
    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 ReconnectListener
    extends GloballyAttachableListener
    This listener listens to reconnected sessions. Reconnecting a session, means that it's likely that events were lost and therefore all objects were replaced.
    • Method Detail

      • onReconnect

        void onReconnect​(ReconnectEvent event)
        This method is called every time a connection is reconnected.
        Parameters:
        event - The event.