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

AAADictionaryManager Class Reference

#include <diameter_parser_api.h>

List of all members.

Public Member Functions

 AAADictionaryManager (int p=-1)
void init (char *dictFile)
boolean_t getCommandCode (char *commandName, AAACommandCode *commandCode, AAAApplicationId *appId)
AAADictionaryHandlegetDictHandle (AAACommandCode code, AAAApplicationId id, int rflag)
AAADictionaryHandlegetDictHandle (char *cmdName)


Detailed Description

DictionaryManager Dictionary Manager Definition

This class is used for managing dictionary


Constructor & Destructor Documentation

AAADictionaryManager::AAADictionaryManager int  p = -1  )  [inline]
 

Constructor

Parameters:
proto Protocol


Member Function Documentation

boolean_t AAADictionaryManager::getCommandCode char *  commandName,
AAACommandCode *  commandCode,
AAAApplicationId *  appId
 

Used for translating the command name into a pair of Command Code and Application Identifier.

Parameters:
commandName Name of command code to retrieve
commandCode Command Code
appId Application Identifier

AAADictionaryHandle* AAADictionaryManager::getDictHandle char *  cmdName  ) 
 

Used for retrieving the dictionary handle for a given command.

Parameters:
cmdName Command name

AAADictionaryHandle* AAADictionaryManager::getDictHandle AAACommandCode  code,
AAAApplicationId  id,
int  rflag
 

Used for retrieving the dictionary handle for a given command.

Parameters:
code Command code
id application Id
rflag Request flag

void AAADictionaryManager::init char *  dictFile  ) 
 

This function initializes the command and AVP dictionaries based on an appropriate set of command and AVP dictionary files described in XML format.

Parameters:
dictFile XML based Dictionary File


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