Package 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
Diameter Accounting-Answer (ACA) Message.
- Author:
- Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved.
-
Field Summary
Fields inherited from class com.bea.wcp.diameter.Message
FLAG_ERROR, FLAG_POTENTIALLY_RETRANSMITTED, FLAG_PROXIABLE, FLAG_REQUEST, FLAGS_MASK, HEADER_SIZE, VERSION -
Constructor Summary
ConstructorsConstructorDescriptionACA(ACR req, ResultCode rc) ACA(ByteBuffer bb, com.bea.wcp.diameter.transport.Connection c) -
Method Summary
Modifier and TypeMethodDescriptionintReturns the Accounting-Record-Number AVP value for this request.Returns the Accounting-Record-Type AVP value for this request.intReturns the Acct-Interim-Interval AVP value for this request.voidsetAcctInterimInterval(int interval) Sets the Acct-Interim-Interval AVP value for this request.voidvalidate()Validates the message by validating each message AVP.protected voidvalidateAvp(Avp avp) Methods inherited from class com.bea.wcp.diameter.Answer
commit, getRequest, getResultCode, getSession, isCommitted, preValidate, preValidateAvp, send, setResultCodeMethods inherited from class com.bea.wcp.diameter.Message
addAvp, addAvp, addAvp, appendXml, decode, decodeAvps, encode, encode, extractAndSetSessionIdAvp, getAppId, getAppId, getAvp, getAvp, getAvpList, getCode, getCode, getCommand, getConnection, getEffectiveSessionId, getEndToEndId, getHopByHopId, getLength, getOriginHost, getOriginRealm, getSessionId, getVersion, isAnswer, isError, isPotentiallyRetransmitted, isProxiable, isRequest, popProxyInfo, toLoggableString, toString
-
Constructor Details
-
ACA
-
ACA
-
-
Method Details
-
validate
Description copied from class:MessageValidates 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:
validatein classMessage- Throws:
MessageException- if the message was invalid
-
validateAvp
- Overrides:
validateAvpin classMessage- Throws:
AvpException
-
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.
-