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