WebSphere brand IBM WebSphere IP Multimedia Subsystem Connector, Version 6.2

Class RfAccountingResults

The RfAccountingResults class is a simple representation of the Diameter Accounting Answer (ACA) command. It contains all the pertinent information for managing an Accounting Session.

Usage

The Rf Web Service Session and Event methods return an RfAccountingResults object. The Web service client can query the results to further manage an Accounting session. These values are listed in the methods tables in this topic. They are also listed in RFC 3588.

Example

RfAccountingResults acaResults = service.startRfAccountingInfo(acctInfo);
acaResults.getAcctInterimInterval();

Get methods

Method Type Return Description
getResultCode int resultCode

Successful or unsuccessful result codes in the form of an exception. Possible values include:

1xxx (Informational)

2xxx (Success)

getEventTimestamp long eventTimestamp

The event time stamp. The event time stamp is returned in time. It may be included in ACR and ACA messages to record the time that the reported event occurred, in milliseconds since January 1, 1970 00:00 UTC.

Example:
long eventTimestamp = rfAccountingResults.getEventTimestamp();
getOriginStateID int originStateID

The origin state identifier. This Attribute Value Pair (AVP) is optional.

getAcctInterimInterval int acctInterimInterval

The interval (in seconds) in which the accounting client should send interim requests after the start of the session.

Set methods

Because the RfAccountingResults object is set by the Diameter Enabler based on results it has received from the CCF, the set methods are rarely used.

Method Parameter Name Type Description
setResultCode resultCode int

The result code value.

setEventTimestamp eventTimestamp long

The event time stamp.

setOriginStateID originStateID int

The origin state identifier.

setAcctInterimInterval acctInterimInterval int

The interval (in seconds) in which the accounting client should receive interim requests after the start of the session.




Terms of use
(C) Copyright IBM Corporation 2009. All Rights Reserved.