org.csapi.jr.se.cc.mpccs
Class SuperviseResEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.csapi.jr.se.cc.mpccs.SuperviseResEvent
- All Implemented Interfaces:
- java.io.Serializable
- public final class SuperviseResEvent
- extends java.util.EventObject
Event created by an activity object to indicate that a Gateway originated
call to the superviseRes() method on the callback interface
has occured.
- See Also:
- Serialized Form
Constructor Summary |
SuperviseResEvent(java.lang.Object source,
int report,
int usedTime)
Constructor for the SuperviseResEvent Event. |
Method Summary |
int |
getReport()
This method is used to retrieve the parameter value of 'report' passed up
from the Gateway in it's call to the superviseRes() method, used on
the creation of this event. |
int |
getUsedTime()
This method is used to retrieve the parameter value of 'usedTime' passed up
from the Gateway in it's call to the superviseRes() method, used on
the creation of this event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SuperviseResEvent
public SuperviseResEvent(java.lang.Object source,
int report,
int usedTime)
- Constructor for the SuperviseResEvent Event.
- Parameters:
source
- Reference to the object firing the event.
getReport
public int getReport()
- This method is used to retrieve the parameter value of 'report' passed up
from the Gateway in it's call to the superviseRes() method, used on
the creation of this event.
- Returns:
- The value of 'report' used on creation of this event.
getUsedTime
public int getUsedTime()
- This method is used to retrieve the parameter value of 'usedTime' passed up
from the Gateway in it's call to the superviseRes() method, used on
the creation of this event.
- Returns:
- The value of 'usedTime' used on creation of this event.