Interface ClientListener

All Superinterfaces:
EventListener

public interface ClientListener
extends EventListener
The ClientListener provides the ability to listen to clients connecting and disconnecting from the member.
See Also:
Client, ClientService.addClientListener(ClientListener)
  • Method Summary

    Modifier and Type Method Description
    void clientConnected​(Client client)
    Invoked when a client is connected.
    void clientDisconnected​(Client client)
    Invoked when a client is disconnected.
  • Method Details

    • clientConnected

      void clientConnected​(Client client)
      Invoked when a client is connected.
      Parameters:
      client - the client instance
    • clientDisconnected

      void clientDisconnected​(Client client)
      Invoked when a client is disconnected.
      Parameters:
      client - the client instance