#include <diameter_api.h>
Inheritance diagram for AAAAccountingXMLRecTransformer:
Public Member Functions | |
AAAAccountingXMLRecTransformer () | |
~AAAAccountingXMLRecTransformer () | |
virtual AAAReturnCode | Convert (AAAMessage *msg) |
virtual AAAReturnCode | OutputRecord (AAAMessage *originalMsg) |
Protected Attributes | |
AAASessionPayload | record |
ACE_UINT32 | record_size |
This is a default transfomer provided by the open diameter library. When used, with a session object, the transformer will convert AAAMessage to XML stream.
The following is the XML stream output format for a converted AAAMessage.
value value
value value value <"avpname">value <"avpname"> <"avpname">value</"avpname"> <"avpname">value</"avpname"> <"avpname"> <"avpname">value</"avpname"> </"avpname"> </"avpname">
|
constructor |
|
destructor |
|
Converts AAAMessage to XML stream data.
Implements AAAAccountingRecTransformer. |
|
Must be implemented by the application to archive the XML stream data. The converted data MUST be stored in record and record_size. IMPORTANT: Users MAY invoked this default implementation to automatically free the record. Otherwise it is the responsibility of the implementor to release this record pointer using "delete".
Implements AAAAccountingRecTransformer. |
|
Opaque pointer to XML stream |
|
Size of record |