#include <diameter_api.h>
Inheritance diagram for AAAAccountingRecTransformer:
Public Member Functions | |
AAAAccountingRecTransformer () | |
virtual | ~AAAAccountingRecTransformer () |
virtual AAAReturnCode | Convert (AAAMessage *msg)=0 |
virtual AAAReturnCode | OutputRecord (AAAMessage *originalMsg)=0 |
This defines the Transformer base class that MUST be implemented by the application to convert AAAMessage to an application suitable record.
Note that the use of record transformer is not mandatory for converting data. The application can implement it's own converter within the HandleMessage() event. However, the record transformer provides a formal and recommended way of providing record abstraction within the session object.
|
constructor |
|
destructor |
|
Application specific transformer implementation. This is invoked by the session object after the message is processed.
Implemented in AAAAccountingXMLRecTransformer. |
|
Application specific record outputing. This is invoked if the Convert() method returns AAA_ERR_SUCCESS. You can use this method to pass the record to archive entities like databases.
Implemented in AAAAccountingXMLRecTransformer. |