#include <diameter_api.h>
Inheritance diagram for AAAAccountingClientSession:
Public Types | |
enum | RECTYPE { RECTYPE_EVENT = 1, RECTYPE_START = 2, RECTYPE_INTERIM = 3, RECTYPE_STOP = 4 } |
Public Member Functions | |
AAAAccountingClientSession (AAAApplicationCore &appCore, diameter_unsigned32_t id) | |
virtual | ~AAAAccountingClientSession () |
AAAReturnCode | SetInterimRecordInterval (RECTYPE type, int interval=0, AAASessionPayload payload=NULL) |
virtual AAAReturnCode | HandleInterimRecordEvent (RECTYPE type, AAASessionPayload payload) |
This is the base class used by client accounting application. They can inherit this class to implement specific functionalities.
|
Record type enumeration |
|
constructor
|
|
destructor |
|
Event handler for interim record events. This method is invoked when interim record events has been scheduled via SetInterimRecordInterval
|
|
Assigns an interim interval value to the current client session. A call to this method schedules HandleInterimRecordEvent() to be invoked depending on the interval value and record type. (see notes on diameter draft). This method is optional. Applications MAY implement thier own algorithm for scheduling record events.
|