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