Interface ServerBecomesAvailableListener

  • 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 ServerBecomesAvailableListener
    extends GloballyAttachableListener
    This listener listens to servers becoming available. Unavailability means, that a Discord server is down due to a temporary outage.
    See Also:
    Discord docs
    • Method Detail

      • onServerBecomesAvailable

        void onServerBecomesAvailable​(ServerBecomesAvailableEvent event)
        This method is called every time a server became unavailable.
        Parameters:
        event - The event.