org.jdiameter.common.impl.app.rf
Class RfAccountingAnswerImpl

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.rf.RfAccountingAnswerImpl
All Implemented Interfaces:
java.io.Serializable, AppAnswerEvent, AppEvent, RfAccountingAnswer

public class RfAccountingAnswerImpl
extends AppAnswerEventImpl
implements RfAccountingAnswer

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.rf.events.RfAccountingAnswer
_LONG_NAME, _SHORT_NAME, code
 
Constructor Summary
RfAccountingAnswerImpl(Answer answer)
           
RfAccountingAnswerImpl(Request request)
           
RfAccountingAnswerImpl(Request request, int accountRecordType, int accReqNumber, long resultCode)
           
RfAccountingAnswerImpl(Request request, long resultCode)
           
RfAccountingAnswerImpl(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

RfAccountingAnswerImpl

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

RfAccountingAnswerImpl

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

RfAccountingAnswerImpl

public RfAccountingAnswerImpl(Request request)
Parameters:
request -

RfAccountingAnswerImpl

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

RfAccountingAnswerImpl

public RfAccountingAnswerImpl(Answer answer)
Method Detail

getAccountingRecordType

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

getAccountingRecordNumber

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


Copyright © 2014. All Rights Reserved.