|
Oracle Communications Converged Application Server Java API Reference 5.0 E18767-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.wcp.diameter.Message
com.bea.wcp.diameter.Request
com.bea.wcp.diameter.accounting.ACR
public final class ACR
Diameter Accounting-Request (ACR) message.
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 | |
---|---|
ACR(java.nio.ByteBuffer bb, com.bea.wcp.diameter.transport.Connection c) |
|
ACR(Node node, int appId, java.lang.String sessionId) |
Method Summary | |
---|---|
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) |
Methods inherited from class com.bea.wcp.diameter.Request |
---|
cancel, commit, createAnswer, createAnswer, getAnswer, getApplicationId, getDestinationHost, getDestinationPeers, getDestinationRealm, getNode, getSession, isAnswered, isCommitted, isThreadWaiting, preValidate, preValidateAvp, pushProxyInfo, send, send, sendAndWait, sendAndWait, sendError, setAnswer, setApplicationId, setDestinationHost, setDestinationRealm, setIsPotentiallyRetransmitted, setSession, unsetDestinationHost |
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 |
Constructor Detail |
---|
public ACR(java.nio.ByteBuffer bb, com.bea.wcp.diameter.transport.Connection c)
public ACR(Node node, int appId, java.lang.String sessionId)
Method Detail |
---|
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 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()
|
Oracle Communications Converged Application Server Java API Reference 5.0 E18767-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |