com.ibm.as400.access

Interface DataQueueListener

  • All Superinterfaces:
    java.util.EventListener


    public interface DataQueueListener
    extends java.util.EventListener
    Provides an interface for receiving DataQueue events.

    Note: Only actions performed via the Java object that implements this interface will fire events to listeners. Data queue accesses performed by other means (such as by calling system APIs or CL commands) do not fire events to listeners.

    • Method Detail

      • cleared

        void cleared(DataQueueEvent event)
        Invoked when a clear has been performed.
        Parameters:
        event - The DataQueue event.
      • peeked

        void peeked(DataQueueEvent event)
        Invoked when a peek has been performed.
        Parameters:
        event - The DataQueue event.
      • read

        void read(DataQueueEvent event)
        Invoked when a read has been performed.
        Parameters:
        event - The DataQueue event.
      • written

        void written(DataQueueEvent event)
        Invoked when a write has been performed.
        Parameters:
        event - The DataQueue event.