openikev2::AlarmCommand Class Reference

This class represents an Alarm Command, indicating that an Alarm has became timeout. More...

#include <alarmcommand.h>

Inheritance diagram for openikev2::AlarmCommand:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 AlarmCommand (Alarm &alarm)
 Creates a new AlarmCommand indicating the timeout Alarm.
virtual Enums::MESSAGE_ACTION executeCommand (IkeSaController &ike_sa_controller)
 Execute the commmand.
virtual string getCommandName () const
 Get the command name.

Protected Attributes

Alarmalarm
 Reference to the timeout Alarm.

Detailed Description

This class represents an Alarm Command, indicating that an Alarm has became timeout.

Author:
Alejandro Perez Mendez, Pedro J. Fernandez Ruiz <alejandro_perez@dif.um.es, pedroj.fernandez@dif.um.es>


Constructor & Destructor Documentation

openikev2::AlarmCommand::AlarmCommand ( Alarm alarm  ) 

Creates a new AlarmCommand indicating the timeout Alarm.

Parameters:
alarm Timeout Alarm


Member Function Documentation

Enums::MESSAGE_ACTION openikev2::AlarmCommand::executeCommand ( IkeSaController ike_sa_controller  )  [virtual]

Execute the commmand.

Parameters:
ike_sa_controller IkeSaController receiving the action
Returns:
The action to be performed after Command execution

Implements openikev2::Command.

string openikev2::AlarmCommand::getCommandName (  )  const [virtual]

Get the command name.

Returns:
The commad name

Implements openikev2::Command.


Generated on Fri Jul 27 11:04:49 2007 for libopenikev2 by  doxygen 1.5.1