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 occured.

See Also:
Serialized Form

Constructor Summary
DebitUnitResEvent(java.lang.Object source, org.csapi.jr.se.cs.Volume[] debitedVolumes, org.csapi.jr.se.cs.Volume[] reservedUnitsLeft)
          Constructor for the DebitUnitResEvent Event.
 
Method Summary
 org.csapi.jr.se.cs.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.
 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 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DebitUnitResEvent

public DebitUnitResEvent(java.lang.Object source,
                         org.csapi.jr.se.cs.Volume[] debitedVolumes,
                         org.csapi.jr.se.cs.Volume[] reservedUnitsLeft)
Constructor for the DebitUnitResEvent Event.

Parameters:
source - Reference to the object firing the event.
Method Detail

getDebitedVolumes

public org.csapi.jr.se.cs.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 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 debitUnitRes() method, used on the creation of this event.

Returns:
The value of 'reservedUnitsLeft' used on creation of this event.