#include <command.h>
Inheritance diagram for openikev2::Command:

Public Member Functions | |
| Command (bool is_inheritable) | |
| Creates a new Commmand. | |
| virtual Enums::MESSAGE_ACTION | executeCommand (IkeSaController &ike_sa_controller)=0 |
| Execute the commmand. | |
| virtual string | getCommandName () const=0 |
| Get the command name. | |
| virtual bool | isInheritable () const |
| Indicates if the command will be inherited on IKE_SA rekeyings. | |
Protected Attributes | |
| bool | is_inheritable |
| Indicates if the command will be inherited on IKE_SA rekeyings. | |
| openikev2::Command::Command | ( | bool | is_inheritable | ) |
Creates a new Commmand.
| is_inheritable | If the Commnad must be inherited in the IKE_SA rekeyings |
| virtual Enums::MESSAGE_ACTION openikev2::Command::executeCommand | ( | IkeSaController & | ike_sa_controller | ) | [pure virtual] |
Execute the commmand.
| ike_sa_controller | IkeSaController receiving the action |
Implemented in openikev2::AlarmCommand, openikev2::CloseAllSasCommand, openikev2::ExitIkeSaCommand, openikev2::MessageReceivedCommand, openikev2::SendDeleteChildSaReqCommand, openikev2::SendDeleteIkeSaReqCommand, openikev2::SendEapContinueReqCommand, openikev2::SendEapFinishReqCommand, openikev2::SendIkeAuthReqCommand, openikev2::SendIkeSaInitReqCommand, openikev2::SendInformationalReqCommand, openikev2::SendNewChildSaReqCommand, openikev2::SendRekeyChildSaReqCommand, and openikev2::SendRekeyIkeSaReqCommand.
| virtual string openikev2::Command::getCommandName | ( | ) | const [pure virtual] |
Get the command name.
Implemented in openikev2::AlarmCommand, openikev2::CloseAllSasCommand, openikev2::ExitIkeSaCommand, openikev2::MessageReceivedCommand, openikev2::SendDeleteChildSaReqCommand, openikev2::SendDeleteIkeSaReqCommand, openikev2::SendEapContinueReqCommand, openikev2::SendEapFinishReqCommand, openikev2::SendIkeAuthReqCommand, openikev2::SendIkeSaInitReqCommand, openikev2::SendInformationalReqCommand, openikev2::SendNewChildSaReqCommand, openikev2::SendRekeyChildSaReqCommand, and openikev2::SendRekeyIkeSaReqCommand.
| bool openikev2::Command::isInheritable | ( | ) | const [virtual] |
Indicates if the command will be inherited on IKE_SA rekeyings.
1.5.1