public final class ACR extends Request
FLAG_ERROR, FLAG_POTENTIALLY_RETRANSMITTED, FLAG_PROXIABLE, FLAG_REQUEST, FLAGS_MASK, HEADER_SIZE, VERSION| Constructor and Description |
|---|
ACR(ByteBuffer bb,
com.bea.wcp.diameter.transport.Connection c) |
ACR(Node node,
int appId,
String sessionId) |
| 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 |
setAccountingRecordNumber(int n)
Sets the Accounting-Record-Number AVP value for this request.
|
void |
setAccountingRecordType(RecordType type)
Sets the Accounting-Record-Type 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) |
attemptFailover, cancel, commit, createAnswer, createAnswer, getAnswer, getApplicationId, getDestinationHost, getDestinationPeers, getDestinationRealm, getNode, getRetrySupported, getRouteDLBEnabled, getSession, isAnswered, isCommitted, isThreadWaiting, preValidate, preValidateAvp, pushProxyInfo, send, send, sendAndWait, sendAndWait, sendError, setAnswer, setApplicationId, setDestinationHost, setDestinationRealm, setIsPotentiallyRetransmitted, setRetrySupported, setSession, unsetDestinationHostaddAvp, 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, toStringpublic ACR(ByteBuffer bb, com.bea.wcp.diameter.transport.Connection c)
public void validate()
throws MessageException
Messagevalidate in class MessageMessageException - if the message was invalidprotected void validateAvp(Avp avp) throws AvpException
validateAvp in class MessageAvpExceptionpublic void setAccountingRecordType(RecordType type)
type - the request accounting record typepublic RecordType getAccountingRecordType()
public void setAccountingRecordNumber(int n)
n - the request accounting record numberpublic int getAccountingRecordNumber()
public void setAcctInterimInterval(int interval)
interval - the request accounting interim intervalpublic int getAcctInterimInterval()