EpcTools
An event based multi-threaded C++ development framework.
Public Member Functions | Protected Member Functions | List of all members
FDCommand Class Referenceabstract

Represents a command, a request or answer, that will be registered with freeDiameter. More...

#include <efd.h>

Inheritance diagram for FDCommand:
FDCommandRequest

Public Member Functions

FDDictionaryEntryCommandgetDictionaryEntry ()
 The dictionary entry associated with the command. More...
 
virtual Bool isRequest ()=0
 Indicates if this command is a request (based on the dictionary entry). More...
 
Bool isAnswer ()
 Indicates if this command is an answer. More...
 

Protected Member Functions

 FDCommand (FDDictionaryEntryCommand &de)
 Class constructor. More...
 

Detailed Description

Represents a command, a request or answer, that will be registered with freeDiameter.

Constructor & Destructor Documentation

◆ FDCommand()

FDCommand::FDCommand ( FDDictionaryEntryCommand de)
protected

Class constructor.

Parameters
dethe dictionary entry associated with the command.

Member Function Documentation

◆ getDictionaryEntry()

FDDictionaryEntryCommand& FDCommand::getDictionaryEntry ( )
inline

The dictionary entry associated with the command.

Returns
the command dictionary entry.

◆ isAnswer()

Bool FDCommand::isAnswer ( )
inline

Indicates if this command is an answer.

Returns
True indicates that the command is a answer, otherwise False.

◆ isRequest()

virtual Bool FDCommand::isRequest ( )
pure virtual

Indicates if this command is a request (based on the dictionary entry).

Returns
True indicates that the command is a request, otherwise False.

Implemented in FDCommandRequest.


The documentation for this class was generated from the following files: