org.csapi.jr.se.cs
Class RateResEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.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 occured.

See Also:
Serialized Form

Constructor Summary
RateResEvent(java.lang.Object source, org.csapi.jr.se.cs.PriceVolume[] rates, int validityTimeLeft)
          Constructor for the RateResEvent Event.
 
Method Summary
 org.csapi.jr.se.cs.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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RateResEvent

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

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

getRates

public org.csapi.jr.se.cs.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.