com.ibm.as400.access

Class DataQueueEvent

  • java.lang.Object
    • java.util.EventObject
      • com.ibm.as400.access.DataQueueEvent
  • All Implemented Interfaces:
    java.io.Serializable


    public class DataQueueEvent
    extends java.util.EventObject
    The DataQueueEvent class represents a DataQueue event.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int DQ_CLEARED
      The DataQueue clear event ID.
      static int DQ_PEEKED
      The DataQueue peek event ID.
      static int DQ_READ
      The DataQueue read event ID.
      static int DQ_WRITTEN
      The DataQueue write event ID.
      • Fields inherited from class java.util.EventObject

        source
    • Constructor Summary

      Constructors 
      Constructor and Description
      DataQueueEvent(java.lang.Object source, int id)
      Constructs a DataQueueEvent object.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getID()
      Returns the identifier for this event.
      • Methods inherited from class java.util.EventObject

        getSource, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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(java.lang.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.