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, AccountAnswer, AppAnswerEvent, AppEvent

public class AccountAnswerImpl
extends AppAnswerEventImpl
implements AccountAnswer

erick.svenson@yahoo.com

Author:
Alexandre Mendonca , Bartosz Baranowski
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdiameter.common.impl.app.AppEventImpl
message
 
Fields inherited from interface org.jdiameter.api.acc.events.AccountAnswer
_LONG_NAME, _SHORT_NAME, code
 
Constructor Summary
AccountAnswerImpl(Answer answer)
           
AccountAnswerImpl(Request request)
           
AccountAnswerImpl(Request request, int accountRecordType, int accReqNumber, long resultCode)
           
AccountAnswerImpl(Request request, long resultCode)
           
AccountAnswerImpl(Request request, long vendorId, 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
 

Constructor Detail

AccountAnswerImpl

public AccountAnswerImpl(Request request,
                         int accountRecordType,
                         int accReqNumber,
                         long resultCode)

AccountAnswerImpl

public AccountAnswerImpl(Answer answer)
Parameters:
answer -

AccountAnswerImpl

public AccountAnswerImpl(Request request,
                         long vendorId,
                         long resultCode)
Parameters:
request -
vendorId -
resultCode -

AccountAnswerImpl

public AccountAnswerImpl(Request request,
                         long resultCode)
Parameters:
request -
resultCode -

AccountAnswerImpl

public AccountAnswerImpl(Request request)
Parameters:
request -
Method Detail

getAccountingRecordType

public int getAccountingRecordType()
                            throws AvpDataException
Specified by:
getAccountingRecordType in interface AccountAnswer
Throws:
AvpDataException

getAccountingRecordNumber

public long getAccountingRecordNumber()
                               throws AvpDataException
Specified by:
getAccountingRecordNumber in interface AccountAnswer
Throws:
AvpDataException


Copyright © 2014. All Rights Reserved.