EpcTools
An event based multi-threaded C++ development framework.
|
A dictionary entry object associated with a command message. More...
#include <efd.h>
Public Member Functions | |
FDDictionaryEntryCommand (const char *name, struct dictionary *dict=NULL) | |
Class constructor. More... | |
FDDictionaryEntryCommand (command_code_t cmdid, struct dictionary *dict=NULL) | |
Class constructor. More... | |
FDDictionaryEntryCommand (const FDDictionaryEntryCommand &req, struct dictionary *dict=NULL) | |
Class constructor. More... | |
Bool | isRequest () const |
Returns True of the command is a request. More... | |
Bool | isAnswer () const |
Returns True of the command is an answer. More... | |
command_code_t | getCommandCode () |
Returns the command ID. More... | |
const char * | getName () |
Returns the command name. More... | |
![]() | |
struct dictionary * | getDictionary () const |
Returns the freeDiameter dictionary structure pointer. More... | |
struct dict_object * | getEntry () const |
Returns the freeDiameter dictionary entry structure pointer. More... | |
Bool | isValid () |
Returns true if the dictionary entry is valid. More... | |
Additional Inherited Members | |
![]() | |
FDDictionaryEntry () | |
Class constructor. More... | |
FDDictionaryEntry (const Void *what, enum dict_object_type type, Int criteria, struct dictionary *dict=NULL) | |
Class constructor. More... | |
Void | init (const Void *what, enum dict_object_type type, Int criteria, struct dictionary *dict=NULL) |
initializes an object created with the default constructor. More... | |
Void | init (struct dict_object *de, struct dictionary *dict=NULL) |
intializes an object using an existing freeDiameter dictionary entry. More... | |
virtual | ~FDDictionaryEntry () |
Class destructor. More... | |
A dictionary entry object associated with a command message.
FDDictionaryEntryCommand::FDDictionaryEntryCommand | ( | const char * | name, |
struct dictionary * | dict = NULL |
||
) |
Class constructor.
name | the name of the command. |
dict | the dictionary to search. If NULL, then globally defined freeDiameter dictionary will be searched. |
FDException |
FDDictionaryEntryCommand::FDDictionaryEntryCommand | ( | command_code_t | cmdid, |
struct dictionary * | dict = NULL |
||
) |
Class constructor.
cmdid | the ID of the command. |
dict | the dictionary to search. If NULL, then globally defined freeDiameter dictionary will be searched. |
FDException |
FDDictionaryEntryCommand::FDDictionaryEntryCommand | ( | const FDDictionaryEntryCommand & | req, |
struct dictionary * | dict = NULL |
||
) |
Class constructor.
req | the dictionary entry of the command. |
dict | the dictionary to search. If NULL, then globally defined freeDiameter dictionary will be searched. |
FDException |
|
inline |
Returns the command ID.
|
inline |
Returns the command name.
|
inline |
Returns True of the command is an answer.
|
inline |
Returns True of the command is a request.