#include <diameter_parser_api.h>
Public Member Functions | |
AvpType * | search (ACE_UINT32 type) |
AvpType * | search (const char *name) |
void | add (AvpType *avpType) |
Friends | |
class | ACE_Singleton< AvpTypeList_S, ACE_Recursive_Thread_Mutex > |
Example usage:
#include "diameter_api.h" #define AAA_AVP_MYDATA_TYPE 10000 static AvpValueParserCreator<MyParser> myValueParserCreator; static AvpContainerEntryCreator<MyAvpContainerEntry> myContainerEntryCreator; AvpTypeList::instance()->add(new AvpType("MyAvp", AAA_AVP_MYDATA_TYPE, 0, myParserCreator, myContainerEntryCreator));
MyAvpParser and MyAvpContainerEntry classes will need to be defined.
|
Adds an AVP type instance to the list
|
|
Returns a pointer to the AVP type instance
|
|
Returns a pointer to the AVP type instance
|
|
type list |