Main Page | Class Hierarchy | Class List | File List | Class Members

AAAAccountingRecTransformer Class Reference

Accounting Record Transformer Class Definition. More...

#include <diameter_api.h>

Inheritance diagram for AAAAccountingRecTransformer:

AAAAccountingXMLRecTransformer List of all members.

Public Member Functions

 AAAAccountingRecTransformer ()
virtual ~AAAAccountingRecTransformer ()
virtual AAAReturnCode Convert (AAAMessage *msg)=0
virtual AAAReturnCode OutputRecord (AAAMessage *originalMsg)=0

Detailed Description

Accounting Record Transformer Class Definition.

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 Documentation

AAAAccountingRecTransformer::AAAAccountingRecTransformer  ) 
 

constructor

virtual AAAAccountingRecTransformer::~AAAAccountingRecTransformer  )  [virtual]
 

destructor


Member Function Documentation

virtual AAAReturnCode AAAAccountingRecTransformer::Convert AAAMessage msg  )  [pure virtual]
 

Application specific transformer implementation. This is invoked by the session object after the message is processed.

Parameters:
msg Message to be converted

Implemented in AAAAccountingXMLRecTransformer.

virtual AAAReturnCode AAAAccountingRecTransformer::OutputRecord AAAMessage originalMsg  )  [pure virtual]
 

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.

Parameters:
originalMsg Source message that has been converted

Implemented in AAAAccountingXMLRecTransformer.


The documentation for this class was generated from the following file:
Generated on Fri Jun 25 19:12:02 2004 for Open Diameter C++ API by doxygen 1.3.5