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 |
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 |
DataQueueEvent(java.lang.Object source,
int id)
Constructs a DataQueueEvent object. |
Method Summary |
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 |
DQ_CLEARED
public static final int DQ_CLEARED
- The DataQueue clear event ID. This event is delivered when a clear has been performed.
DQ_PEEKED
public static final int DQ_PEEKED
- The DataQueue peek event ID. This event is delivered when a peek has been performed.
DQ_READ
public static final int DQ_READ
- The DataQueue read event ID. This event is delivered when a read has been performed.
DQ_WRITTEN
public static final int DQ_WRITTEN
- The DataQueue write event ID. This event is delivered when a write has been performed.
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.
getID
public int getID()
- Returns the identifier for this event.
- Returns:
- The identifier for this event.