Interface EventBusListener<T>

Type Parameters:
T - type of event payloads that the listener is interested in receiving.
All Superinterfaces:
Serializable

public interface EventBusListener<T> extends Serializable
Interface to be implemented by listeners that want to subscribe to an EventBus.
Author:
Petter Holmström (petter@vaadin.com)
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onEvent(Event<T> event)
    Called when an event has been received.
  • Method Details

    • onEvent

      void onEvent(Event<T> event)
      Called when an event has been received.
      Parameters:
      event - the event, never null.