# Interface EventListener

All Superinterfaces:
  `EventListener`

public interface EventListener extends EventListener
An event listener object is used to receive asynchronously delivered MQ events.

MQ client runtime may notify an application about a specific MQ event if one has been set to the MQ connection.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onEvent(Event event)`
  Notify a MQ application of a MQ event.

- ## Method Details

  - ### onEvent

    void onEvent(Event event)
    Notify a MQ application of a MQ event.
    Parameters:
      `event` - the event generated by MQ runtime.