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