|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RfAccountingAnswer
Defines an interface representing the Accounting-Answer command. From the Diameter Ro/Rf Protocol (TS 32299-6c0) specification:
<ACA> ::= < Diameter Header: 271, PXY >
< Session-Id >
{ Result-Code }
{ Origin-Host }
{ Origin-Realm }
{ Accounting-Record-Type }
{ Accounting-Record-Number }
[ Acct-Application-Id ]
[ User-Name ]
[ Acct-Interim-Interval ]
[ Origin-State-Id ]
[ Event-Timestamp ]
* [ Proxy-Info ]
* [ AVP ]
| Field Summary |
|---|
| Fields inherited from interface net.java.slee.resource.diameter.rf.events.RfAccountingMessage |
|---|
commandCode |
| Method Summary | |
|---|---|
long |
getResultCode()
Returns the value of the Result-Code AVP, of type Unsigned32. |
boolean |
hasResultCode()
Returns true if the Result-Code AVP is present in the message. |
void |
setResultCode(long resultCode)
Sets the value of the Result-Code AVP, of type Unsigned32. |
| Methods inherited from interface net.java.slee.resource.diameter.rf.events.RfAccountingMessage |
|---|
getAccountingRecordNumber, getAccountingRecordType, getAcctApplicationId, getAcctInterimInterval, getEventTimestamp, getOriginStateId, getProxyInfos, getUserName, hasAccountingRecordNumber, hasAccountingRecordType, hasAcctApplicationId, hasAcctInterimInterval, hasEventTimestamp, hasOriginStateId, hasUserName, setAccountingRecordNumber, setAccountingRecordType, setAcctApplicationId, setAcctInterimInterval, setEventTimestamp, setOriginStateId, setProxyInfo, setProxyInfos, setUserName |
| Methods inherited from interface net.java.slee.resource.diameter.base.events.DiameterMessage |
|---|
clone, getAvps, getCommand, getDestinationHost, getDestinationRealm, getExtensionAvps, getHeader, getOriginHost, getOriginRealm, getSessionId, hasDestinationHost, hasDestinationRealm, hasOriginHost, hasOriginRealm, hasSessionId, setDestinationHost, setDestinationRealm, setExtensionAvps, setOriginHost, setOriginRealm, setSessionId |
| Method Detail |
|---|
boolean hasResultCode()
long getResultCode()
hasResultCode() to check the existence of this AVP.
java.lang.IllegalStateException - if the Result-Code AVP has not been set on this messagevoid setResultCode(long resultCode)
java.lang.IllegalStateException - if setResultCode has already been called
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||