org.csapi.jr.se.cs
Class RateResEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.csapi.jr.se.cs.RateResEvent
All Implemented Interfaces:
java.io.Serializable

public final class RateResEvent
extends java.util.EventObject

Event created by an activity object to indicate that a Gateway originated call to the rateRes() method on the callback interface has occurred.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
RateResEvent(java.lang.Object source, PriceVolume[] rates, int validityTimeLeft)
          Constructor for the RateResEvent Event.
 
Method Summary
 PriceVolume[] getRates()
          This method is used to retrieve the parameter value of 'rates' passed up from the Gateway in it's call to the rateRes() method, used on the creation of this event.
 int getValidityTimeLeft()
          This method is used to retrieve the parameter value of 'validityTimeLeft' passed up from the Gateway in it's call to the rateRes() 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
 

Constructor Detail

RateResEvent

public RateResEvent(java.lang.Object source,
                    PriceVolume[] rates,
                    int validityTimeLeft)
Constructor for the RateResEvent Event.

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

getRates

public PriceVolume[] getRates()
This method is used to retrieve the parameter value of 'rates' passed up from the Gateway in it's call to the rateRes() method, used on the creation of this event.

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

getValidityTimeLeft

public int getValidityTimeLeft()
This method is used to retrieve the parameter value of 'validityTimeLeft' passed up from the Gateway in it's call to the rateRes() method, used on the creation of this event.

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