com.ibm.as400.resource
Class ActiveStatusEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ibm.as400.resource.ActiveStatusEvent
All Implemented Interfaces:
java.io.Serializable

public class ActiveStatusEvent
extends java.util.EventObject

The ActiveStatusEvent class represents an active status event.

See Also:
Serialized Form

Field Summary
static int BUSY
          Event ID indicating that the active status is busy.
static int IDLE
          Event ID indicating that the active status is idle.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ActiveStatusEvent(java.lang.Object source, int eventID)
          Constructs a ActiveStatusEvent object.
 
Method Summary
 int getID()
          Returns the event ID.
 
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

BUSY

public static final int BUSY
Event ID indicating that the active status is busy. This indicates that a potentially long-running operation has started.

IDLE

public static final int IDLE
Event ID indicating that the active status is idle. This indicates that a potentially long-running operation has ended.
Constructor Detail

ActiveStatusEvent

public ActiveStatusEvent(java.lang.Object source,
                         int eventID)
Constructs a ActiveStatusEvent object.
Parameters:
source - The source.
eventID - The event ID.
Method Detail

getID

public int getID()
Returns the event ID.
Returns:
The event ID.