com.ibm.as400.access

Class DataQueueEvent

    • Field Detail

      • DQ_CLEARED

        public static final int DQ_CLEARED
        The DataQueue clear event ID. This event is delivered when a clear has been performed.
        See Also:
        Constant Field Values
      • DQ_PEEKED

        public static final int DQ_PEEKED
        The DataQueue peek event ID. This event is delivered when a peek has been performed.
        See Also:
        Constant Field Values
      • DQ_READ

        public static final int DQ_READ
        The DataQueue read event ID. This event is delivered when a read has been performed.
        See Also:
        Constant Field Values
      • DQ_WRITTEN

        public static final int DQ_WRITTEN
        The DataQueue write event ID. This event is delivered when a write has been performed.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DataQueueEvent

        public DataQueueEvent(Object source,
                      int id)
        Constructs a DataQueueEvent object. It uses the specified source and ID.
        Parameters:
        source - The object where the event originated.
        id - The event identifier.

    • Method Detail

      • getID

        public int getID()
        Returns the identifier for this event.
        Returns:
        The identifier for this event.