openikev2::NotifyController Class Reference

This class represents a Notify Controller. More...

#include <notifycontroller.h>

Inheritance diagram for openikev2::NotifyController:

Inheritance graph
[legend]
List of all members.

Public Member Functions

virtual Enums::NOTIFY_ACTION processNotify (Payload_NOTIFY &notify, Message &message, IkeSaController &ike_sa_controller, ChildSa *child_sa)=0
 Process a received NOTIFY Payload.
virtual void addNotifyRequest (Message &message, IkeSaController &ike_sa_controller, ChildSa *child_sa)
 Adds new notify request payload to the indicated message.

Detailed Description

This class represents a Notify Controller.

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


Member Function Documentation

virtual Enums::NOTIFY_ACTION openikev2::NotifyController::processNotify ( Payload_NOTIFY notify,
Message message,
IkeSaController ike_sa_controller,
ChildSa child_sa 
) [pure virtual]

Process a received NOTIFY Payload.

Parameters:
notify Received NOTIFY Payload
message Message containig the notification
ike_sa_controller IKE_SA Controller that receive the notification
child_sa CHILD_SA related with the notification (NULL if there is no related CHILD_SA)
Returns:
The action to be performed after payload processing. If the processing of a NOTIFY needs to respond with another NOTIFY, it must be included using the IkeSaController::addResponsePayload() method.

Implemented in openikev2::NotifyController_AUTHENTICATION_FAILED, openikev2::NotifyController_COOKIE, openikev2::NotifyController_HTTP_CERT_LOOKUP_SUPPORTED, openikev2::NotifyController_INTERNAL_ADDRESS_FAILURE, openikev2::NotifyController_INVALID_KE, openikev2::NotifyController_INVALID_SYNTAX, openikev2::NotifyController_NO_ADDITIONAL_SAS, openikev2::NotifyController_NO_PROPOSAL_CHOSEN, openikev2::NotifyController_REKEY_SA, openikev2::NotifyController_SINGLE_PAIR_REQUIRED, openikev2::NotifyController_TS_UNACCEPTABLE, openikev2::NotifyController_UNSUPPORTED_CRITICAL_PAYLOAD, and openikev2::NotifyController_USE_TRANSPORT_MODE.

void openikev2::NotifyController::addNotifyRequest ( Message message,
IkeSaController ike_sa_controller,
ChildSa child_sa 
) [virtual]

Adds new notify request payload to the indicated message.

Parameters:
message Message to include the notification
ike_sa_controller IKE_SA Controller that sends the notification
child_sa CHILD_SA related with the notification (NULL if there is no related CHILD_SA)

Reimplemented in openikev2::NotifyController_HTTP_CERT_LOOKUP_SUPPORTED, and openikev2::NotifyController_USE_TRANSPORT_MODE.


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