Skip navigation links
com.bea.wcp.diameter.accounting
Class ACA
java.lang.Object
com.bea.wcp.diameter.Message
com.bea.wcp.diameter.Answer
com.bea.wcp.diameter.accounting.ACA
-
public class ACA
- extends Answer
Diameter Accounting-Answer (ACA) Message.
Constructor Summary |
ACA(ACR req, ResultCode rc)
|
ACA(java.nio.ByteBuffer bb, com.bea.wcp.diameter.transport.Connection c)
|
Methods inherited from class com.bea.wcp.diameter.Message |
addAvp, addAvp, addAvp, appendXml, decode, decodeAvps, encode, encode, getAppId, getAvp, getAvp, getAvpList, getCode, getCode, getCommand, getConnection, getEffectiveSessionId, getEndToEndId, getHopByHopId, getLength, getOriginHost, getOriginRealm, getSessionId, getVersion, isAnswer, isError, isPotentiallyRetransmitted, isProxiable, isRequest, popProxyInfo, toLoggableString, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ACA
public ACA(java.nio.ByteBuffer bb,
com.bea.wcp.diameter.transport.Connection c)
ACA
public ACA(ACR req,
ResultCode rc)
validate
public void validate()
throws MessageException
- Description copied from class:
Message
- Validates the message by validating each message AVP. If any AVP values are cached as message fields they are cleared first. This supports validation of both received and originated messages.
-
- Overrides:
validate
in class Message
-
- Throws:
MessageException
- if the message was invalid
validateAvp
protected void validateAvp(Avp avp)
throws AvpException
-
- Overrides:
validateAvp
in class Message
-
- Throws:
AvpException
getAccountingRecordType
public RecordType getAccountingRecordType()
- Returns the Accounting-Record-Type AVP value for this request.
getAccountingRecordNumber
public int getAccountingRecordNumber()
- Returns the Accounting-Record-Number AVP value for this request.
setAcctInterimInterval
public void setAcctInterimInterval(int interval)
- Sets the Acct-Interim-Interval AVP value for this request.
-
- Parameters:
interval
- the request accounting interim interval
getAcctInterimInterval
public int getAcctInterimInterval()
- Returns the Acct-Interim-Interval AVP value for this request.
Skip navigation links
Copyright © 2005, 2010, Oracle and/or its affiliates. All rights reserved.