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

#include <DAFEnrollment.h>

Inheritance diagram for DAFEnrollment:
DAFEnrollmentBase

Public Types

enum  IconEnrolStatus { ENICON_ENROLLED, ENICON_FLOWMIS, ENICON_NOTENROLLED }
 

Public Member Functions

 DAFEnrollment ()
 
virtual ~DAFEnrollment ()
 
void startCACE (Flow *flow)
 
void startEnrollment (DAFEnrollmentStateTableEntry *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)
 
void receiveAllocationResponsePositive (Flow *flow)
 
void receiveAllocationRequestFromFAI (Flow *flow)
 
void createBindings (Flow *flow, DAFEnrollmentNotifier *module)
 
void checkEnrolled (APNIPair *apnip)
 
- Public Member Functions inherited from DAFEnrollmentBase
 DAFEnrollmentBase ()
 
virtual ~DAFEnrollmentBase ()
 

Public Attributes

IRMIrm
 
CACEMgmtcace
 

Protected Member Functions

void initPointers ()
 
void initSignalsAndListeners ()
 
virtual void initialize ()
 
void updateEnrollmentDisplay (DAFEnrollment::IconEnrolStatus status)
 
void parseConfig (cXMLElement *config)
 
void authenticate (DAFEnrollmentStateTableEntry *entry, CDAP_M_Connect *msg)
 
void processConResPosi (DAFEnrollmentStateTableEntry *entry, CDAPMessage *cmsg)
 
void processConResNega (DAFEnrollmentStateTableEntry *entry, CDAPMessage *cmsg)
 
void processNewConReq (DAFEnrollmentStateTableEntry *entry)
 
void processStopEnrollmentImmediate (DAFEnrollmentStateTableEntry *entry)
 
void processStopEnrollmentResponse (DAFEnrollmentStateTableEntry *entry)
 
void createFlow (APNIPair *apnip)
 
DAFEnrollmentNotifiercreateMgmtAE (Flow *flow)
 
void signalizeCACESendData (CDAPMessage *cmsg)
 
void signalizeStartEnrollmentRequest (DAFEnrollmentObj *obj)
 
void signalizeStartEnrollmentResponse (DAFEnrollmentObj *obj)
 
void signalizeStopEnrollmentRequest (DAFEnrollmentObj *obj)
 
void signalizeStopEnrollmentResponse (DAFEnrollmentObj *obj)
 
void signalizeStartOperationRequest (DAFOperationObj *obj)
 
void signalizeStartOperationResponse (DAFOperationObj *obj)
 
void signalizeEnrollmentFinished (DAFEnrollmentStateTableEntry *entry)
 
void signalizeEnrolled ()
 
void signalizeAllocateResponsePositive (Flow *flow)
 
void signalizeAllocateResponseNegative (Flow *flow)
 
virtual void handleMessage (cMessage *msg)
 

Protected Attributes

FABaseFlowAlloc
 
DAFEnrollCommands PreenrollConnects
 
DAFEnrollCommands PreenrollReleases
 
int authType
 
std::string apName
 
std::string apInstance
 
std::string authName
 
std::string authPassword
 
std::string authOther
 
int maxConRetries
 
int numOfConnects
 
int currentMgmtAEInstanceId
 
simsignal_t sigDAFEnrollmentCACESendData
 
simsignal_t sigDAFEnrollmentSendData
 
simsignal_t sigDAFEnrollmentStartEnrollReq
 
simsignal_t sigDAFEnrollmentStartEnrollRes
 
simsignal_t sigDAFEnrollmentStopEnrollReq
 
simsignal_t sigDAFEnrollmentStopEnrollRes
 
simsignal_t sigDAFEnrollmentStartOperReq
 
simsignal_t sigDAFEnrollmentStartOperRes
 
simsignal_t sigDAFEnrollmentFinish
 
simsignal_t sigDAFEnrollmentEnrollPosi
 
simsignal_t sigDAFEnrollmentAllocResNega
 
simsignal_t sigDAFEnrollmentAllocResPosi
 
LisDAFEnrollmentAllResPosilisDAFEnrollmentAllResPosi
 
LisDAFEnrollmentGetFlowFromFaiCreResPosilisDAFEnrollmentGetFlowFromFaiCreResPosi
 
LisDAFEnrollmentStartEnrollReqlisDAFEnrollmentStartEnrollReq
 
LisDAFEnrollmentStartEnrollReslisDAFEnrollmentStartEnrollRes
 
LisDAFEnrollmentStopEnrollReqlisDAFEnrollmentStopEnrollReq
 
LisDAFEnrollmentStopEnrollReslisDAFEnrollmentStopEnrollRes
 
LisDAFEnrollmentStopOperationReqlisDAFEnrollmentStartOperationReq
 
LisDAFEnrollmentStartOperationReslisDAFEnrollmentStartOperationRes
 
LisDAFEnrollmentConResPosilisDAFEnrollmentConResPosi
 
LisDAFEnrollmentConResNegalisDAFEnrollmentConResNega
 
LisDAFEnrollmentConReqlisDAFEnrollmentConReq
 
LisDAFEnrollmentRequestlisDAFEnrollmentRequest
 
LisDAFEnrollmentAllReqFromFailisDAFEnrollmentAllReqFromFai
 
DAFEnrollmentStateTableStateTable
 

Friends

class CACEMgmt
 

Detailed Description

Definition at line 73 of file DAFEnrollment.h.

Member Enumeration Documentation

Enumerator
ENICON_ENROLLED 
ENICON_FLOWMIS 
ENICON_NOTENROLLED 

Definition at line 77 of file DAFEnrollment.h.

Constructor & Destructor Documentation

DAFEnrollment::DAFEnrollment ( )

Definition at line 52 of file DAFEnrollment.cc.

DAFEnrollment::~DAFEnrollment ( )
virtual

Definition at line 56 of file DAFEnrollment.cc.

Member Function Documentation

void DAFEnrollment::authenticate ( DAFEnrollmentStateTableEntry entry,
CDAP_M_Connect msg 
)
protected
void DAFEnrollment::checkEnrolled ( APNIPair apnip)

Definition at line 867 of file DAFEnrollment.cc.

Referenced by LisDAFEnrollmentRequest::receiveSignal().

void DAFEnrollment::createBindings ( Flow flow,
DAFEnrollmentNotifier module 
)
void DAFEnrollment::createFlow ( APNIPair apnip)
protected

Definition at line 877 of file DAFEnrollment.cc.

Referenced by checkEnrolled().

DAFEnrollmentNotifier * DAFEnrollment::createMgmtAE ( Flow flow)
protected
void DAFEnrollment::handleMessage ( cMessage *  msg)
protectedvirtual

Definition at line 831 of file DAFEnrollment.cc.

void DAFEnrollment::initialize ( )
protectedvirtual

Implements DAFEnrollmentBase.

Definition at line 62 of file DAFEnrollment.cc.

void DAFEnrollment::initPointers ( )
protected

Definition at line 172 of file DAFEnrollment.cc.

Referenced by initialize().

void DAFEnrollment::initSignalsAndListeners ( )
protected

Definition at line 179 of file DAFEnrollment.cc.

Referenced by initialize().

void DAFEnrollment::insertStateTableEntry ( Flow flow)
void DAFEnrollment::parseConfig ( cXMLElement *  config)
protectedvirtual

Implements DAFEnrollmentBase.

Definition at line 762 of file DAFEnrollment.cc.

Referenced by initialize().

void DAFEnrollment::processConResNega ( DAFEnrollmentStateTableEntry entry,
CDAPMessage cmsg 
)
protected
void DAFEnrollment::processConResPosi ( DAFEnrollmentStateTableEntry entry,
CDAPMessage cmsg 
)
protected
void DAFEnrollment::processNewConReq ( DAFEnrollmentStateTableEntry entry)
protected
void DAFEnrollment::processStopEnrollmentImmediate ( DAFEnrollmentStateTableEntry entry)
protected

Definition at line 566 of file DAFEnrollment.cc.

Referenced by receiveStartEnrollmentRequest().

void DAFEnrollment::processStopEnrollmentResponse ( DAFEnrollmentStateTableEntry entry)
protected

Definition at line 470 of file DAFEnrollment.cc.

Referenced by receiveStopEnrollmentRequest().

void DAFEnrollment::receiveAllocationRequestFromFAI ( Flow flow)

Definition at line 947 of file DAFEnrollment.cc.

Referenced by LisDAFEnrollmentAllReqFromFai::receiveSignal().

void DAFEnrollment::receiveAllocationResponsePositive ( Flow flow)

Definition at line 899 of file DAFEnrollment.cc.

Referenced by LisDAFEnrollmentAllResPosi::receiveSignal().

void DAFEnrollment::receiveConnectRequest ( CDAPMessage msg)
void DAFEnrollment::receiveNegativeConnectResponse ( CDAPMessage msg)
void DAFEnrollment::receivePositiveConnectResponse ( CDAPMessage msg)
void DAFEnrollment::receiveStartEnrollmentRequest ( CDAPMessage msg)
virtual

Implements DAFEnrollmentBase.

Definition at line 496 of file DAFEnrollment.cc.

Referenced by LisDAFEnrollmentStartEnrollReq::receiveSignal().

void DAFEnrollment::receiveStartEnrollmentResponse ( CDAPMessage msg)
virtual

Implements DAFEnrollmentBase.

Definition at line 405 of file DAFEnrollment.cc.

Referenced by LisDAFEnrollmentStartEnrollRes::receiveSignal().

void DAFEnrollment::receiveStartOperationRequest ( CDAPMessage msg)
virtual

Implements DAFEnrollmentBase.

Definition at line 489 of file DAFEnrollment.cc.

Referenced by LisDAFEnrollmentStopOperationReq::receiveSignal().

void DAFEnrollment::receiveStartOperationResponse ( CDAPMessage msg)
virtual

Implements DAFEnrollmentBase.

Definition at line 561 of file DAFEnrollment.cc.

Referenced by LisDAFEnrollmentStartOperationRes::receiveSignal().

void DAFEnrollment::receiveStopEnrollmentRequest ( CDAPMessage msg)
virtual

Implements DAFEnrollmentBase.

Definition at line 438 of file DAFEnrollment.cc.

Referenced by LisDAFEnrollmentStopEnrollReq::receiveSignal().

void DAFEnrollment::receiveStopEnrollmentResponse ( CDAPMessage msg)
virtual

Implements DAFEnrollmentBase.

Definition at line 532 of file DAFEnrollment.cc.

Referenced by LisDAFEnrollmentStopEnrollRes::receiveSignal().

void DAFEnrollment::signalizeAllocateResponseNegative ( Flow flow)
protected

Definition at line 978 of file DAFEnrollment.cc.

Referenced by receiveAllocationRequestFromFAI().

void DAFEnrollment::signalizeAllocateResponsePositive ( Flow flow)
protected

Definition at line 974 of file DAFEnrollment.cc.

Referenced by receiveAllocationRequestFromFAI().

void DAFEnrollment::signalizeCACESendData ( CDAPMessage cmsg)
protected
void DAFEnrollment::signalizeEnrolled ( )
protected

Definition at line 863 of file DAFEnrollment.cc.

Referenced by checkEnrolled(), and processStopEnrollmentResponse().

void DAFEnrollment::signalizeEnrollmentFinished ( DAFEnrollmentStateTableEntry entry)
protected

Definition at line 756 of file DAFEnrollment.cc.

Referenced by processStopEnrollmentResponse().

void DAFEnrollment::signalizeStartEnrollmentRequest ( DAFEnrollmentObj obj)
protected

Definition at line 730 of file DAFEnrollment.cc.

Referenced by startEnrollment().

void DAFEnrollment::signalizeStartEnrollmentResponse ( DAFEnrollmentObj obj)
protected

Definition at line 734 of file DAFEnrollment.cc.

Referenced by receiveStartEnrollmentRequest().

void DAFEnrollment::signalizeStartOperationRequest ( DAFOperationObj obj)
protected

Definition at line 748 of file DAFEnrollment.cc.

void DAFEnrollment::signalizeStartOperationResponse ( DAFOperationObj obj)
protected

Definition at line 752 of file DAFEnrollment.cc.

void DAFEnrollment::signalizeStopEnrollmentRequest ( DAFEnrollmentObj obj)
protected

Definition at line 738 of file DAFEnrollment.cc.

Referenced by processStopEnrollmentImmediate().

void DAFEnrollment::signalizeStopEnrollmentResponse ( DAFEnrollmentObj obj)
protected

Definition at line 744 of file DAFEnrollment.cc.

Referenced by processStopEnrollmentResponse().

void DAFEnrollment::startCACE ( Flow flow)
void DAFEnrollment::startEnrollment ( DAFEnrollmentStateTableEntry entry)
virtual

Implements DAFEnrollmentBase.

Definition at line 388 of file DAFEnrollment.cc.

Referenced by CACEMgmt::receivePositiveConnectResponse().

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

Friends And Related Function Documentation

friend class CACEMgmt
friend

Definition at line 75 of file DAFEnrollment.h.

Referenced by initialize().

Member Data Documentation

std::string DAFEnrollment::apInstance
protected

Definition at line 130 of file DAFEnrollment.h.

Referenced by initialize().

std::string DAFEnrollment::apName
protected

Definition at line 129 of file DAFEnrollment.h.

Referenced by initialize().

std::string DAFEnrollment::authName
protected

Definition at line 131 of file DAFEnrollment.h.

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

std::string DAFEnrollment::authOther
protected

Definition at line 133 of file DAFEnrollment.h.

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

std::string DAFEnrollment::authPassword
protected
int DAFEnrollment::authType
protected
int DAFEnrollment::currentMgmtAEInstanceId
protected

Definition at line 136 of file DAFEnrollment.h.

Referenced by createFlow(), createMgmtAE(), and initialize().

FABase* DAFEnrollment::FlowAlloc
protected

Definition at line 123 of file DAFEnrollment.h.

Referenced by handleMessage(), and initialize().

LisDAFEnrollmentAllReqFromFai* DAFEnrollment::lisDAFEnrollmentAllReqFromFai
protected

Definition at line 164 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

LisDAFEnrollmentAllResPosi* DAFEnrollment::lisDAFEnrollmentAllResPosi
protected

Definition at line 151 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

LisDAFEnrollmentConReq* DAFEnrollment::lisDAFEnrollmentConReq
protected

Definition at line 162 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

LisDAFEnrollmentConResNega* DAFEnrollment::lisDAFEnrollmentConResNega
protected

Definition at line 161 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

LisDAFEnrollmentConResPosi* DAFEnrollment::lisDAFEnrollmentConResPosi
protected

Definition at line 160 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

LisDAFEnrollmentGetFlowFromFaiCreResPosi* DAFEnrollment::lisDAFEnrollmentGetFlowFromFaiCreResPosi
protected

Definition at line 152 of file DAFEnrollment.h.

LisDAFEnrollmentRequest* DAFEnrollment::lisDAFEnrollmentRequest
protected

Definition at line 163 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

LisDAFEnrollmentStartEnrollReq* DAFEnrollment::lisDAFEnrollmentStartEnrollReq
protected

Definition at line 154 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

LisDAFEnrollmentStartEnrollRes* DAFEnrollment::lisDAFEnrollmentStartEnrollRes
protected

Definition at line 155 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

LisDAFEnrollmentStopOperationReq* DAFEnrollment::lisDAFEnrollmentStartOperationReq
protected

Definition at line 158 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

LisDAFEnrollmentStartOperationRes* DAFEnrollment::lisDAFEnrollmentStartOperationRes
protected

Definition at line 159 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

LisDAFEnrollmentStopEnrollReq* DAFEnrollment::lisDAFEnrollmentStopEnrollReq
protected

Definition at line 156 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

LisDAFEnrollmentStopEnrollRes* DAFEnrollment::lisDAFEnrollmentStopEnrollRes
protected

Definition at line 157 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

int DAFEnrollment::maxConRetries
protected

Definition at line 134 of file DAFEnrollment.h.

Referenced by initialize(), and CACEMgmt::receiveNegativeConnectResponse().

int DAFEnrollment::numOfConnects
protected

Definition at line 135 of file DAFEnrollment.h.

DAFEnrollCommands DAFEnrollment::PreenrollConnects
protected

Definition at line 125 of file DAFEnrollment.h.

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

DAFEnrollCommands DAFEnrollment::PreenrollReleases
protected

Definition at line 126 of file DAFEnrollment.h.

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

simsignal_t DAFEnrollment::sigDAFEnrollmentAllocResNega
protected

Definition at line 148 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners(), and signalizeAllocateResponseNegative().

simsignal_t DAFEnrollment::sigDAFEnrollmentAllocResPosi
protected

Definition at line 149 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners(), and signalizeAllocateResponsePositive().

simsignal_t DAFEnrollment::sigDAFEnrollmentCACESendData
protected

Definition at line 138 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners(), and signalizeCACESendData().

simsignal_t DAFEnrollment::sigDAFEnrollmentEnrollPosi
protected

Definition at line 147 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners(), and signalizeEnrolled().

simsignal_t DAFEnrollment::sigDAFEnrollmentFinish
protected

Definition at line 146 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners(), and signalizeEnrollmentFinished().

simsignal_t DAFEnrollment::sigDAFEnrollmentSendData
protected

Definition at line 139 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners().

simsignal_t DAFEnrollment::sigDAFEnrollmentStartEnrollReq
protected

Definition at line 140 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStartEnrollmentRequest().

simsignal_t DAFEnrollment::sigDAFEnrollmentStartEnrollRes
protected

Definition at line 141 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStartEnrollmentResponse().

simsignal_t DAFEnrollment::sigDAFEnrollmentStartOperReq
protected

Definition at line 144 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStartOperationRequest().

simsignal_t DAFEnrollment::sigDAFEnrollmentStartOperRes
protected

Definition at line 145 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStartOperationResponse().

simsignal_t DAFEnrollment::sigDAFEnrollmentStopEnrollReq
protected

Definition at line 142 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStopEnrollmentRequest().

simsignal_t DAFEnrollment::sigDAFEnrollmentStopEnrollRes
protected

Definition at line 143 of file DAFEnrollment.h.

Referenced by initSignalsAndListeners(), and signalizeStopEnrollmentResponse().


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