org.mobicents.csapi.jr.slee.cs
Class RateResEvent

java.lang.Object
  extended by org.mobicents.csapi.jr.slee.ResourceEvent
      extended by org.mobicents.csapi.jr.slee.cs.RateResEvent
All Implemented Interfaces:
java.io.Serializable

public class RateResEvent
extends ResourceEvent

This event indicates that the corresponding request was successful.

See Also:
Serialized Form

Constructor Summary
RateResEvent(TpServiceIdentifier tpServiceIdentifier, TpChargingSessionID tpChargingSessionID, TpPriceVolume[] rates, int validityTimeLeft)
          Constructor for RateResEvent
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 TpPriceVolume[] getRates()
          Returns the rates
 TpChargingSessionID getTpChargingSessionID()
          Returns the tpChargingSessionID
 int getValidityTimeLeft()
          Returns the validityTimeLeft
 int hashCode()
          Returns a hashcode value for the object.
 
Methods inherited from class org.mobicents.csapi.jr.slee.ResourceEvent
getService
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RateResEvent

public RateResEvent(TpServiceIdentifier tpServiceIdentifier,
                    TpChargingSessionID tpChargingSessionID,
                    TpPriceVolume[] rates,
                    int validityTimeLeft)
Constructor for RateResEvent

Parameters:
tpServiceIdentifier - the service this event is related to
Method Detail

getTpChargingSessionID

public TpChargingSessionID getTpChargingSessionID()
Returns the tpChargingSessionID


getRates

public TpPriceVolume[] getRates()
Returns the rates


getValidityTimeLeft

public int getValidityTimeLeft()
Returns the validityTimeLeft


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object


Copyright © 2009. All Rights Reserved.