Interface ServerEventListener

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 ServerEventListener
Listener for server lifecycle events in the bridge network.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when a server connects or disconnects.
  • Method Details

    • accept

      void accept(Platform.ServerTarget server)
      Invoked when a server connects or disconnects.
      Parameters:
      server - the server target involved in the event