org.jdiameter.common.impl.app.acc
Class AccountAnswerImpl

java.lang.Object
  extended by org.jdiameter.common.impl.app.AppEventImpl
      extended by org.jdiameter.common.impl.app.AppAnswerEventImpl
          extended by org.jdiameter.common.impl.app.acc.AccountAnswerImpl
All Implemented Interfaces:
java.io.Serializable, org.jdiameter.api.acc.events.AccountAnswer, org.jdiameter.api.app.AppAnswerEvent, org.jdiameter.api.app.AppEvent

public class AccountAnswerImpl
extends AppAnswerEventImpl
implements org.jdiameter.api.acc.events.AccountAnswer

See Also:
Serialized Form

Field Summary
static int code
           
 
Fields inherited from class org.jdiameter.common.impl.app.AppEventImpl
message
 
Constructor Summary
AccountAnswerImpl(org.jdiameter.api.Answer answer)
           
AccountAnswerImpl(org.jdiameter.api.Request request, int accountRecordType, int accReqNumber, long resultCode)
           
 
Method Summary
 long getAccountingRecordNumber()
           
 int getAccountingRecordType()
           
 
Methods inherited from class org.jdiameter.common.impl.app.AppAnswerEventImpl
getResultCodeAvp
 
Methods inherited from class org.jdiameter.common.impl.app.AppEventImpl
equals, getCommandCode, getMessage, getOriginHost, getOriginRealm, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jdiameter.api.app.AppAnswerEvent
getResultCodeAvp
 
Methods inherited from interface org.jdiameter.api.app.AppEvent
getCommandCode, getMessage, getOriginHost, getOriginRealm
 

Field Detail

code

public static final int code
See Also:
Constant Field Values
Constructor Detail

AccountAnswerImpl

public AccountAnswerImpl(org.jdiameter.api.Request request,
                         int accountRecordType,
                         int accReqNumber,
                         long resultCode)

AccountAnswerImpl

public AccountAnswerImpl(org.jdiameter.api.Answer answer)
Method Detail

getAccountingRecordType

public int getAccountingRecordType()
                            throws org.jdiameter.api.AvpDataException
Specified by:
getAccountingRecordType in interface org.jdiameter.api.acc.events.AccountAnswer
Throws:
org.jdiameter.api.AvpDataException

getAccountingRecordNumber

public long getAccountingRecordNumber()
                               throws org.jdiameter.api.AvpDataException
Specified by:
getAccountingRecordNumber in interface org.jdiameter.api.acc.events.AccountAnswer
Throws:
org.jdiameter.api.AvpDataException


Copyright © 2008. All Rights Reserved.