openikev2::BusEventIkeSa Class Reference

This class represents an IKE SA Bus Event. More...

#include <buseventikesa.h>

Inheritance diagram for openikev2::BusEventIkeSa:

Inheritance graph
[legend]
List of all members.

Public Types

enum  IKE_SA_EVENT_TYPE {
  NEW_IKE_SA, DEL_IKE_SA, REKEY_IKE_SA, IKE_SA_ESTABLISHED,
  IKE_SA_FAIL_GENERIC, IKE_SA_FAIL_RETRANSMITIONS_EXCEEDED, IKE_SA_FAIL_NEGOTIATION_TIMEOUT, IKE_SA_FAIL_NO_PROPOSAL_CHOSEN,
  IKE_SA_FAIL_COOKIE_REQUIRED, IKE_SA_FAIL_INVALID_KE, IKE_SA_FAIL_AUTHENTICATION, IKE_SA_FAIL_INTERNAL_ADDRESS,
  IKE_SA_FAIL_UNSUPPORTED_CRITICAL_PAYLOAD, IKE_SA_FAIL_CONFIGURATION
}
 IKE SA event type. More...

Public Member Functions

 BusEventIkeSa (IKE_SA_EVENT_TYPE ike_sa_event_type, IkeSaController &controller)
 Constructor for a IKE_SA event.
 BusEventIkeSa (IKE_SA_EVENT_TYPE ike_sa_event_type, IkeSaController &controller, void *data)
 Constructor for a IKE_SA event.

Public Attributes

IKE_SA_EVENT_TYPE ike_sa_event_type
 IKE SA event type.
IkeSaControllerike_sa_controller
 IKE SA that throws the event.
void * data
 Extra event data.

Detailed Description

This class represents an IKE SA Bus Event.

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


Member Enumeration Documentation

enum openikev2::BusEventIkeSa::IKE_SA_EVENT_TYPE

IKE SA event type.

Enumerator:
NEW_IKE_SA  New IKE SA event.
DEL_IKE_SA  IKE SA deleted event.
REKEY_IKE_SA  IKE SA rekeyed event.
IKE_SA_ESTABLISHED  IKE SA created (authenticated) event.
IKE_SA_FAIL_GENERIC  IKE SA creation generic fail.
IKE_SA_FAIL_RETRANSMITIONS_EXCEEDED  IKE SA fail due to retransmitions exceeded.
IKE_SA_FAIL_NEGOTIATION_TIMEOUT  IKE SA fail due to negotiation timeout (in the responder).
IKE_SA_FAIL_NO_PROPOSAL_CHOSEN  IKE SA fail due to peer doesn't choose any proposal.
IKE_SA_FAIL_COOKIE_REQUIRED  IKE SA fail due to cookie is required.
IKE_SA_FAIL_INVALID_KE  IKE SA fail due to invalid KE payload.
IKE_SA_FAIL_AUTHENTICATION  IKE SA fail due to authentication failed.
IKE_SA_FAIL_INTERNAL_ADDRESS  IKE SA fail due to an error in addressing configuration (roadwarrior scenario).
IKE_SA_FAIL_UNSUPPORTED_CRITICAL_PAYLOAD  IKE SA fail due to unsupported critical payload.
IKE_SA_FAIL_CONFIGURATION  IKE SA fail due to an error in configuration.


Constructor & Destructor Documentation

openikev2::BusEventIkeSa::BusEventIkeSa ( IKE_SA_EVENT_TYPE  ike_sa_event_type,
IkeSaController controller 
)

Constructor for a IKE_SA event.

Parameters:
ike_sa_event_type Event type
controller IkeSaController that throws the event

openikev2::BusEventIkeSa::BusEventIkeSa ( IKE_SA_EVENT_TYPE  ike_sa_event_type,
IkeSaController controller,
void *  data 
)

Constructor for a IKE_SA event.

Parameters:
ike_sa_event_type Event type
controller IkeSaController that throws the event
data Extra event data
Returns:


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