org.mobicents.csapi.jr.slee.am
Class QueryBalanceResEvent

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

public class QueryBalanceResEvent
extends ResourceEvent

This event indicates that the request to query the balance was successful and it reports the requested balance of an account to the application.

See Also:
Serialized Form

Constructor Summary
QueryBalanceResEvent(TpServiceIdentifier tpServiceIdentifier, int queryId, TpBalance[] balances)
          Constructor for QueryBalanceResEvent
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 TpBalance[] getBalances()
          Returns the balances
 int getQueryId()
          Returns the queryId
 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

QueryBalanceResEvent

public QueryBalanceResEvent(TpServiceIdentifier tpServiceIdentifier,
                            int queryId,
                            TpBalance[] balances)
Constructor for QueryBalanceResEvent

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

getQueryId

public int getQueryId()
Returns the queryId


getBalances

public TpBalance[] getBalances()
Returns the balances


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.