Interface ServerEventListener<T extends ServerEvent>

Type Parameters:
T - the type of ServerEvent this listener handles
All Superinterfaces:
EventListener

public interface ServerEventListener<T extends ServerEvent> extends EventListener
Listener interface for handling ServerEvent instances.

Implement this interface to receive server-originated events dispatched within the component hierarchy.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(T event)
    Called when a server event is dispatched.
  • Method Details

    • onEvent

      void onEvent(T event)
      Called when a server event is dispatched.
      Parameters:
      event - the server event