org.csapi.jr.se.cs
Class ReserveUnitResEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.csapi.jr.se.cs.ReserveUnitResEvent
- All Implemented Interfaces:
- java.io.Serializable
- public final class ReserveUnitResEvent
- extends java.util.EventObject
Event created by an activity object to indicate that a Gateway originated
call to the reserveUnitRes() method on the callback interface
has occured.
- See Also:
- Serialized Form
Constructor Summary |
ReserveUnitResEvent(java.lang.Object source,
org.csapi.jr.se.cs.Volume[] reservedUnits,
int sessionTimeLeft)
Constructor for the ReserveUnitResEvent Event. |
Method Summary |
org.csapi.jr.se.cs.Volume[] |
getReservedUnits()
This method is used to retrieve the parameter value of 'reservedUnits' passed up
from the Gateway in it's call to the reserveUnitRes() method, used on
the creation of this event. |
int |
getSessionTimeLeft()
This method is used to retrieve the parameter value of 'sessionTimeLeft' passed up
from the Gateway in it's call to the reserveUnitRes() 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 |
ReserveUnitResEvent
public ReserveUnitResEvent(java.lang.Object source,
org.csapi.jr.se.cs.Volume[] reservedUnits,
int sessionTimeLeft)
- Constructor for the ReserveUnitResEvent Event.
- Parameters:
source
- Reference to the object firing the event.
getReservedUnits
public org.csapi.jr.se.cs.Volume[] getReservedUnits()
- This method is used to retrieve the parameter value of 'reservedUnits' passed up
from the Gateway in it's call to the reserveUnitRes() method, used on
the creation of this event.
- Returns:
- The value of 'reservedUnits' used on creation of this event.
getSessionTimeLeft
public int getSessionTimeLeft()
- This method is used to retrieve the parameter value of 'sessionTimeLeft' passed up
from the Gateway in it's call to the reserveUnitRes() method, used on
the creation of this event.
- Returns:
- The value of 'sessionTimeLeft' used on creation of this event.