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

java.lang.Object
  extended by org.jdiameter.common.impl.app.AppEventImpl
      extended by org.jdiameter.common.impl.app.AppRequestEventImpl
          extended by org.jdiameter.common.impl.app.rf.RfAccountingRequestImpl
All Implemented Interfaces:
java.io.Serializable, AppEvent, AppRequestEvent, RfAccountingRequest

public class RfAccountingRequestImpl
extends AppRequestEventImpl
implements RfAccountingRequest

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.RfAccountingRequest
_LONG_NAME, _SHORT_NAME, code
 
Constructor Summary
RfAccountingRequestImpl(AppSession session, int accountRecordType, int accReqNumber, java.lang.String destRealm, java.lang.String destHost)
           
RfAccountingRequestImpl(Request request)
           
 
Method Summary
 long getAccountingRecordNumber()
           
 int getAccountingRecordType()
           
 
Methods inherited from class org.jdiameter.common.impl.app.AppRequestEventImpl
getDestinationHost, getDestinationRealm
 
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.AppRequestEvent
getDestinationHost, getDestinationRealm
 
Methods inherited from interface org.jdiameter.api.app.AppEvent
getCommandCode, getMessage, getOriginHost, getOriginRealm
 

Constructor Detail

RfAccountingRequestImpl

public RfAccountingRequestImpl(AppSession session,
                               int accountRecordType,
                               int accReqNumber,
                               java.lang.String destRealm,
                               java.lang.String destHost)

RfAccountingRequestImpl

public RfAccountingRequestImpl(Request request)
Method Detail

getAccountingRecordType

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

getAccountingRecordNumber

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


Copyright © 2014. All Rights Reserved.