openikev2::SendInformationalReqCommand Class Reference

This class represents a Send INFORMATIONAL request Command. More...

#include <sendinformationalreqcommand.h>

Inheritance diagram for openikev2::SendInformationalReqCommand:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SendInformationalReqCommand ()
 Creates a new SendInformationalReqCommand.
 SendInformationalReqCommand (AutoVector< Payload > payloads)
 Creates a new SendInformationalReqCommand.
void addPayload (auto_ptr< Payload > payload)
 Adds a payload to the INFORMATIONAL message.
virtual Enums::MESSAGE_ACTION executeCommand (IkeSaController &ike_sa_controller)
 Execute the commmand.
virtual string getCommandName () const
 Get the command name.

Protected Attributes

AutoVector< Payloadpayloads
 Payloads to be included in the INFORMATIONAL message.

Detailed Description

This class represents a Send INFORMATIONAL request Command.

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


Member Function Documentation

void openikev2::SendInformationalReqCommand::addPayload ( auto_ptr< Payload payload  ) 

Adds a payload to the INFORMATIONAL message.

Parameters:
payload Payload to be included in the INFORMATIONAL message

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

Get the command name.

Returns:
The commad name

Implements openikev2::Command.


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