EventListener (Eclipse OpenMQ (tm), 5.1 API Specification)
Description: declaration: package: com.sun.messaging.jms.notification, interface: EventListener

Package com.sun.messaging.jms.notification

# 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.