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

Represents a command request. More...

#include <efd.h>

Inheritance diagram for FDCommandRequest:
FDCommand

Public Member Functions

 FDCommandRequest (FDDictionaryEntryCommand &de)
 Class constructor. More...
 
Bool isRequest ()
 Indicates if this command is a request (based on the dictionary entry). More...
 
virtual Int process (FDMessageRequest *req)=0
 Method that will process the request. More...
 
- Public Member Functions inherited from FDCommand
FDDictionaryEntryCommandgetDictionaryEntry ()
 The dictionary entry associated with the command. More...
 
Bool isAnswer ()
 Indicates if this command is an answer. More...
 

Additional Inherited Members

- Protected Member Functions inherited from FDCommand
 FDCommand (FDDictionaryEntryCommand &de)
 Class constructor. More...
 

Detailed Description

Represents a command request.

Constructor & Destructor Documentation

◆ FDCommandRequest()

FDCommandRequest::FDCommandRequest ( FDDictionaryEntryCommand de)

Class constructor.

Parameters
dethe dictionary entry for the command.

Member Function Documentation

◆ isRequest()

Bool FDCommandRequest::isRequest ( )
inlinevirtual

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

Returns
True if this command is a request, otherwise False.

Implements FDCommand.

◆ process()

virtual Int FDCommandRequest::process ( FDMessageRequest req)
pure virtual

Method that will process the request.

Returns
integer value returned to freeDiameter. 0 indicates success, otherwise failure.

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