openikev2::MessageReceivedCommand Class Reference

This class represents a Message Received Command, indicating the need of process a received Message. More...

#include <messagereceivedcommand.h>

Inheritance diagram for openikev2::MessageReceivedCommand:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 MessageReceivedCommand (auto_ptr< Message > message)
 Creates a new MessageReceivedCommand setting the received message.
virtual Enums::MESSAGE_ACTION executeCommand (IkeSaController &ike_sa_controller)
 Execute the commmand.
virtual string getCommandName () const
 Get the command name.

Protected Attributes

auto_ptr< Messagemessage
 Received message.

Detailed Description

This class represents a Message Received Command, indicating the need of process a received Message.

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


Constructor & Destructor Documentation

openikev2::MessageReceivedCommand::MessageReceivedCommand ( auto_ptr< Message message  ) 

Creates a new MessageReceivedCommand setting the received message.

Parameters:
message Received message


Member Function Documentation

Enums::MESSAGE_ACTION openikev2::MessageReceivedCommand::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::MessageReceivedCommand::getCommandName (  )  const [virtual]

Get the command name.

Returns:
The commad name

Implements openikev2::Command.


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