public class ACA extends Answer
FLAG_ERROR, FLAG_POTENTIALLY_RETRANSMITTED, FLAG_PROXIABLE, FLAG_REQUEST, FLAGS_MASK, HEADER_SIZE, VERSION
Constructor and Description |
---|
ACA(ACR req,
ResultCode rc) |
ACA(ByteBuffer bb,
com.bea.wcp.diameter.transport.Connection c) |
Modifier and Type | Method and Description |
---|---|
int |
getAccountingRecordNumber()
Returns the Accounting-Record-Number AVP value for this request.
|
RecordType |
getAccountingRecordType()
Returns the Accounting-Record-Type AVP value for this request.
|
int |
getAcctInterimInterval()
Returns the Acct-Interim-Interval AVP value for this request.
|
void |
setAcctInterimInterval(int interval)
Sets the Acct-Interim-Interval AVP value for this request.
|
void |
validate()
Validates the message by validating each message AVP.
|
protected void |
validateAvp(Avp avp) |
commit, getRequest, getResultCode, getSession, isCommitted, preValidate, preValidateAvp, send, setResultCode
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
public ACA(ByteBuffer bb, com.bea.wcp.diameter.transport.Connection c)
public ACA(ACR req, ResultCode rc)
public void validate() throws MessageException
Message
validate
in class Message
MessageException
- if the message was invalidprotected void validateAvp(Avp avp) throws AvpException
validateAvp
in class Message
AvpException
public RecordType getAccountingRecordType()
public int getAccountingRecordNumber()
public void setAcctInterimInterval(int interval)
interval
- the request accounting interim intervalpublic int getAcctInterimInterval()