RINASim  October 2016
Documentation of framework for OMNeT++
Enrollment Class Reference

#include <Enrollment.h>

Inheritance diagram for Enrollment:

Public Types

enum  IconEnrolStatus { ENICON_ENROLLED, ENICON_FLOWMIS, ENICON_NOTENROLLED }
 

Public Member Functions

 Enrollment ()
 
virtual ~Enrollment ()
 
void startCACE (APNIPair *apnip)
 
void startEnrollment (EnrollmentStateTableEntry *entry)
 
void insertStateTableEntry (Flow *flow)
 
void receivePositiveConnectResponse (CDAPMessage *msg)
 
void receiveNegativeConnectResponse (CDAPMessage *msg)
 
void receiveConnectRequest (CDAPMessage *msg)
 
void receiveStartEnrollmentRequest (CDAPMessage *msg)
 
void receiveStartEnrollmentResponse (CDAPMessage *msg)
 
void receiveStopEnrollmentRequest (CDAPMessage *msg)
 
void receiveStopEnrollmentResponse (CDAPMessage *msg)
 
void receiveStartOperationRequest (CDAPMessage *msg)
 
void receiveStartOperationResponse (CDAPMessage *msg)
 

Protected Member Functions

void initPointers ()
 
void initSignalsAndListeners ()
 
virtual void initialize ()
 
void updateEnrollmentDisplay (Enrollment::IconEnrolStatus status)
 
void parseConfig (cXMLElement *config)
 
void authenticate (EnrollmentStateTableEntry *entry, CDAP_M_Connect *msg)
 
void processConResPosi (EnrollmentStateTableEntry *entry, CDAPMessage *cmsg)
 
void processConResNega (EnrollmentStateTableEntry *entry, CDAPMessage *cmsg)
 
void processNewConReq (EnrollmentStateTableEntry *entry)
 
void processStopEnrollmentImmediate (EnrollmentStateTableEntry *entry)
 
void processStopEnrollmentResponse (EnrollmentStateTableEntry *entry)
 
void signalizeCACESendData (CDAPMessage *cmsg)
 
void signalizeStartEnrollmentRequest (EnrollmentObj *obj)
 
void signalizeStartEnrollmentResponse (EnrollmentObj *obj)
 
void signalizeStopEnrollmentRequest (EnrollmentObj *obj)
 
void signalizeStopEnrollmentResponse (EnrollmentObj *obj)
 
void signalizeStartOperationRequest (OperationObj *obj)
 
void signalizeStartOperationResponse (OperationObj *obj)
 
void signalizeEnrollmentFinished (EnrollmentStateTableEntry *entry)
 
virtual void handleMessage (cMessage *msg)
 

Protected Attributes

FABaseFlowAlloc
 
EnrollCommands PreenrollConnects
 
EnrollCommands PreenrollReleases
 
int authType
 
std::string authName
 
std::string authPassword
 
std::string authOther
 
int maxConRetries
 
int numOfConnects
 
simsignal_t sigEnrollmentCACESendData
 
simsignal_t sigEnrollmentSendData
 
simsignal_t sigEnrollmentStartEnrollReq
 
simsignal_t sigEnrollmentStartEnrollRes
 
simsignal_t sigEnrollmentStopEnrollReq
 
simsignal_t sigEnrollmentStopEnrollRes
 
simsignal_t sigEnrollmentStartOperReq
 
simsignal_t sigEnrollmentStartOperRes
 
simsignal_t sigEnrollmentFinish
 
LisEnrollmentAllResPosilisEnrollmentAllResPosi
 
LisEnrollmentGetFlowFromFaiCreResPosilisEnrollmentGetFlowFromFaiCreResPosi
 
LisEnrollmentStartEnrollReqlisEnrollmentStartEnrollReq
 
LisEnrollmentStartEnrollReslisEnrollmentStartEnrollRes
 
LisEnrollmentStopEnrollReqlisEnrollmentStopEnrollReq
 
LisEnrollmentStopEnrollReslisEnrollmentStopEnrollRes
 
LisEnrollmentStopOperationReqlisEnrollmentStartOperationReq
 
LisEnrollmentStartOperationReslisEnrollmentStartOperationRes
 
LisEnrollmentConResPosilisEnrollmentConResPosi
 
LisEnrollmentConResNegalisEnrollmentConResNega
 
LisEnrollmentConReqlisEnrollmentConReq
 
EnrollmentStateTableStateTable
 
RIBdRibDaemon
 

Detailed Description

Definition at line 71 of file Enrollment.h.

Member Enumeration Documentation

Enumerator
ENICON_ENROLLED 
ENICON_FLOWMIS 
ENICON_NOTENROLLED 

Definition at line 74 of file Enrollment.h.

Constructor & Destructor Documentation

Enrollment::Enrollment ( )

Definition at line 56 of file Enrollment.cc.

Enrollment::~Enrollment ( )
virtual

Definition at line 61 of file Enrollment.cc.

Member Function Documentation

void Enrollment::authenticate ( EnrollmentStateTableEntry entry,
CDAP_M_Connect msg 
)
protected

Definition at line 485 of file Enrollment.cc.

Referenced by receiveConnectRequest().

void Enrollment::handleMessage ( cMessage *  msg)
protectedvirtual

Definition at line 734 of file Enrollment.cc.

void Enrollment::initialize ( )
protectedvirtual

Definition at line 66 of file Enrollment.cc.

void Enrollment::initPointers ( )
protected

Definition at line 103 of file Enrollment.cc.

Referenced by initialize().

void Enrollment::initSignalsAndListeners ( )
protected

Definition at line 109 of file Enrollment.cc.

Referenced by initialize().

void Enrollment::insertStateTableEntry ( Flow flow)

Definition at line 211 of file Enrollment.cc.

Referenced by LisEnrollmentGetFlowFromFaiCreResPosi::receiveSignal().

void Enrollment::parseConfig ( cXMLElement *  config)
protected

Definition at line 665 of file Enrollment.cc.

Referenced by initialize().

void Enrollment::processConResNega ( EnrollmentStateTableEntry entry,
CDAPMessage cmsg 
)
protected

Definition at line 591 of file Enrollment.cc.

Referenced by authenticate(), and receiveConnectRequest().

void Enrollment::processConResPosi ( EnrollmentStateTableEntry entry,
CDAPMessage cmsg 
)
protected

Definition at line 553 of file Enrollment.cc.

Referenced by authenticate().

void Enrollment::processNewConReq ( EnrollmentStateTableEntry entry)
protected

Definition at line 511 of file Enrollment.cc.

Referenced by receiveNegativeConnectResponse().

void Enrollment::processStopEnrollmentImmediate ( EnrollmentStateTableEntry entry)
protected

Definition at line 471 of file Enrollment.cc.

Referenced by receiveStartEnrollmentRequest().

void Enrollment::processStopEnrollmentResponse ( EnrollmentStateTableEntry entry)
protected

Definition at line 378 of file Enrollment.cc.

Referenced by receiveStopEnrollmentRequest().

void Enrollment::receiveConnectRequest ( CDAPMessage msg)

Definition at line 261 of file Enrollment.cc.

Referenced by LisEnrollmentConReq::receiveSignal().

void Enrollment::receiveNegativeConnectResponse ( CDAPMessage msg)

Definition at line 236 of file Enrollment.cc.

Referenced by LisEnrollmentConResNega::receiveSignal().

void Enrollment::receivePositiveConnectResponse ( CDAPMessage msg)

Definition at line 219 of file Enrollment.cc.

Referenced by LisEnrollmentConResPosi::receiveSignal().

void Enrollment::receiveStartEnrollmentRequest ( CDAPMessage msg)

Definition at line 401 of file Enrollment.cc.

Referenced by LisEnrollmentStartEnrollReq::receiveSignal().

void Enrollment::receiveStartEnrollmentResponse ( CDAPMessage msg)

Definition at line 313 of file Enrollment.cc.

Referenced by LisEnrollmentStartEnrollRes::receiveSignal().

void Enrollment::receiveStartOperationRequest ( CDAPMessage msg)

Definition at line 394 of file Enrollment.cc.

Referenced by LisEnrollmentStopOperationReq::receiveSignal().

void Enrollment::receiveStartOperationResponse ( CDAPMessage msg)

Definition at line 466 of file Enrollment.cc.

Referenced by LisEnrollmentStartOperationRes::receiveSignal().

void Enrollment::receiveStopEnrollmentRequest ( CDAPMessage msg)

Definition at line 346 of file Enrollment.cc.

Referenced by LisEnrollmentStopEnrollReq::receiveSignal().

void Enrollment::receiveStopEnrollmentResponse ( CDAPMessage msg)

Definition at line 437 of file Enrollment.cc.

Referenced by LisEnrollmentStopEnrollRes::receiveSignal().

void Enrollment::signalizeCACESendData ( CDAPMessage cmsg)
protected

Definition at line 631 of file Enrollment.cc.

Referenced by processConResNega(), processConResPosi(), processNewConReq(), and startCACE().

void Enrollment::signalizeEnrollmentFinished ( EnrollmentStateTableEntry entry)
protected

Definition at line 659 of file Enrollment.cc.

Referenced by processStopEnrollmentResponse().

void Enrollment::signalizeStartEnrollmentRequest ( EnrollmentObj obj)
protected

Definition at line 635 of file Enrollment.cc.

Referenced by startEnrollment().

void Enrollment::signalizeStartEnrollmentResponse ( EnrollmentObj obj)
protected

Definition at line 639 of file Enrollment.cc.

Referenced by receiveStartEnrollmentRequest().

void Enrollment::signalizeStartOperationRequest ( OperationObj obj)
protected

Definition at line 651 of file Enrollment.cc.

void Enrollment::signalizeStartOperationResponse ( OperationObj obj)
protected

Definition at line 655 of file Enrollment.cc.

void Enrollment::signalizeStopEnrollmentRequest ( EnrollmentObj obj)
protected

Definition at line 643 of file Enrollment.cc.

Referenced by processStopEnrollmentImmediate().

void Enrollment::signalizeStopEnrollmentResponse ( EnrollmentObj obj)
protected

Definition at line 647 of file Enrollment.cc.

Referenced by processStopEnrollmentResponse().

void Enrollment::startCACE ( APNIPair apnip)

Definition at line 157 of file Enrollment.cc.

Referenced by LisEnrollmentAllResPosi::receiveSignal().

void Enrollment::startEnrollment ( EnrollmentStateTableEntry entry)

Definition at line 297 of file Enrollment.cc.

Referenced by receivePositiveConnectResponse().

void Enrollment::updateEnrollmentDisplay ( Enrollment::IconEnrolStatus  status)
protected

Definition at line 720 of file Enrollment.cc.

Referenced by initialize(), and signalizeEnrollmentFinished().

Member Data Documentation

std::string Enrollment::authName
protected

Definition at line 115 of file Enrollment.h.

Referenced by initialize(), processNewConReq(), and startCACE().

std::string Enrollment::authOther
protected

Definition at line 117 of file Enrollment.h.

Referenced by initialize(), processNewConReq(), and startCACE().

std::string Enrollment::authPassword
protected

Definition at line 116 of file Enrollment.h.

Referenced by authenticate(), initialize(), processNewConReq(), and startCACE().

int Enrollment::authType
protected

Definition at line 114 of file Enrollment.h.

Referenced by authenticate(), initialize(), processNewConReq(), and startCACE().

FABase* Enrollment::FlowAlloc
protected

Definition at line 109 of file Enrollment.h.

Referenced by handleMessage(), initialize(), and initPointers().

LisEnrollmentAllResPosi* Enrollment::lisEnrollmentAllResPosi
protected

Definition at line 131 of file Enrollment.h.

Referenced by initSignalsAndListeners().

LisEnrollmentConReq* Enrollment::lisEnrollmentConReq
protected

Definition at line 142 of file Enrollment.h.

Referenced by initSignalsAndListeners().

LisEnrollmentConResNega* Enrollment::lisEnrollmentConResNega
protected

Definition at line 141 of file Enrollment.h.

Referenced by initSignalsAndListeners().

LisEnrollmentConResPosi* Enrollment::lisEnrollmentConResPosi
protected

Definition at line 140 of file Enrollment.h.

Referenced by initSignalsAndListeners().

LisEnrollmentGetFlowFromFaiCreResPosi* Enrollment::lisEnrollmentGetFlowFromFaiCreResPosi
protected

Definition at line 132 of file Enrollment.h.

LisEnrollmentStartEnrollReq* Enrollment::lisEnrollmentStartEnrollReq
protected

Definition at line 134 of file Enrollment.h.

Referenced by initSignalsAndListeners().

LisEnrollmentStartEnrollRes* Enrollment::lisEnrollmentStartEnrollRes
protected

Definition at line 135 of file Enrollment.h.

Referenced by initSignalsAndListeners().

LisEnrollmentStopOperationReq* Enrollment::lisEnrollmentStartOperationReq
protected

Definition at line 138 of file Enrollment.h.

Referenced by initSignalsAndListeners().

LisEnrollmentStartOperationRes* Enrollment::lisEnrollmentStartOperationRes
protected

Definition at line 139 of file Enrollment.h.

Referenced by initSignalsAndListeners().

LisEnrollmentStopEnrollReq* Enrollment::lisEnrollmentStopEnrollReq
protected

Definition at line 136 of file Enrollment.h.

Referenced by initSignalsAndListeners().

LisEnrollmentStopEnrollRes* Enrollment::lisEnrollmentStopEnrollRes
protected

Definition at line 137 of file Enrollment.h.

Referenced by initSignalsAndListeners().

int Enrollment::maxConRetries
protected

Definition at line 118 of file Enrollment.h.

Referenced by initialize().

int Enrollment::numOfConnects
protected

Definition at line 119 of file Enrollment.h.

EnrollCommands Enrollment::PreenrollConnects
protected

Definition at line 111 of file Enrollment.h.

Referenced by handleMessage(), initialize(), and parseConfig().

EnrollCommands Enrollment::PreenrollReleases
protected

Definition at line 112 of file Enrollment.h.

Referenced by handleMessage(), initialize(), and parseConfig().

RIBd* Enrollment::RibDaemon
protected
simsignal_t Enrollment::sigEnrollmentCACESendData
protected

Definition at line 121 of file Enrollment.h.

Referenced by initSignalsAndListeners(), and signalizeCACESendData().

simsignal_t Enrollment::sigEnrollmentFinish
protected

Definition at line 129 of file Enrollment.h.

Referenced by initSignalsAndListeners(), and signalizeEnrollmentFinished().

simsignal_t Enrollment::sigEnrollmentSendData
protected

Definition at line 122 of file Enrollment.h.

Referenced by initSignalsAndListeners().

simsignal_t Enrollment::sigEnrollmentStartEnrollReq
protected

Definition at line 123 of file Enrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStartEnrollmentRequest().

simsignal_t Enrollment::sigEnrollmentStartEnrollRes
protected

Definition at line 124 of file Enrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStartEnrollmentResponse().

simsignal_t Enrollment::sigEnrollmentStartOperReq
protected

Definition at line 127 of file Enrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStartOperationRequest().

simsignal_t Enrollment::sigEnrollmentStartOperRes
protected

Definition at line 128 of file Enrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStartOperationResponse().

simsignal_t Enrollment::sigEnrollmentStopEnrollReq
protected

Definition at line 125 of file Enrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStopEnrollmentRequest().

simsignal_t Enrollment::sigEnrollmentStopEnrollRes
protected

Definition at line 126 of file Enrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStopEnrollmentResponse().


The documentation for this class was generated from the following files: