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

#include <FA.h>

Inheritance diagram for FA:
FABase

Public Member Functions

 FA ()
 
virtual ~FA ()
 
virtual bool receiveAllocateRequest (Flow *flow)
 
virtual bool receiveMgmtAllocateRequest (Flow *mgmtflow)
 
virtual bool receiveMgmtAllocateRequest (APNamingInfo src, APNamingInfo dst)
 
virtual bool receiveMgmtAllocateFinish ()
 
virtual void receiveNM1FlowCreated (Flow *flow)
 
virtual bool receiveDeallocateRequest (Flow *flow)
 
virtual bool receiveCreateFlowRequestFromRibd (Flow *flow)
 
virtual void deinstantiateFai (Flow *flow)
 
virtual bool setOriginalAddresses (Flow *flow)
 
virtual bool setNeighborAddresses (Flow *flow)
 
bool invokeNewFlowRequestPolicy (Flow *flow)
 
- Public Member Functions inherited from FABase
 FABase ()
 
virtual ~FABase ()
 
NFlowTablegetNFlowTable () const
 
const AddressgetMyAddress () const
 

Public Attributes

simsignal_t sigFACreReqFwd
 
simsignal_t sigFACreResNega
 
simsignal_t sigFACreResPosiFwd
 
simsignal_t sigFAAllocFinMgmt
 
LisFAAllocFinMgmtlisEnrollFin
 
LisFACreFloPosilisCreFloPosi
 
LisFACreReqlisCreReq
 
- Public Attributes inherited from FABase
std::list< Flow * > PendingFlows
 

Protected Member Functions

virtual void initialize ()
 
virtual void handleMessage (cMessage *msg)
 
void initPointers ()
 
- Protected Member Functions inherited from FABase
void initMyAddress ()
 

Private Member Functions

bool isMalformedFlow (Flow *flow)
 
FAIcreateFAI (Flow *flow)
 
void initSignalsAndListeners ()
 
void signalizeCreateFlowRequestForward (Flow *flow)
 
void signalizeCreateFlowResponseNegative (Flow *flow)
 
const Address getAddressFromDa (const APN &apn, bool useNeighbor, bool isMgmtFlow)
 
bool changeDstAddresses (Flow *flow, bool useNeighbor)
 
bool changeSrcAddress (Flow *flow, bool useNeighbor)
 

Private Attributes

EFCPEfcp
 
DADifAllocator
 
RABaseRaModule
 
NewFlowRequestBaseNFloReqPolicy
 
EnrollmentStateTableEnrollment
 

Additional Inherited Members

- Protected Attributes inherited from FABase
NFlowTableN_flowTable
 
Address MyAddress
 

Detailed Description

Definition at line 56 of file FA.h.

Constructor & Destructor Documentation

FA::FA ( )

Definition at line 33 of file FA.cc.

FA::~FA ( )
virtual

Definition at line 37 of file FA.cc.

Member Function Documentation

bool FA::changeDstAddresses ( Flow flow,
bool  useNeighbor 
)
private

Definition at line 167 of file FA.cc.

bool FA::changeSrcAddress ( Flow flow,
bool  useNeighbor 
)
private

Definition at line 149 of file FA.cc.

FAI * FA::createFAI ( Flow flow)
private

Definition at line 459 of file FA.cc.

Referenced by receiveAllocateRequest(), and receiveCreateFlowRequestFromRibd().

void FA::deinstantiateFai ( Flow flow)
virtual

Implements FABase.

Definition at line 503 of file FA.cc.

const Address FA::getAddressFromDa ( const APN apn,
bool  useNeighbor,
bool  isMgmtFlow 
)
private

Definition at line 93 of file FA.cc.

Referenced by setNeighborAddresses(), and setOriginalAddresses().

void FA::handleMessage ( cMessage *  msg)
protectedvirtual

Implements FABase.

Definition at line 129 of file FA.cc.

void FA::initialize ( )
protectedvirtual

Implements FABase.

Definition at line 85 of file FA.cc.

void FA::initPointers ( )
protected

Definition at line 41 of file FA.cc.

Referenced by initialize().

void FA::initSignalsAndListeners ( )
private

Definition at line 51 of file FA.cc.

Referenced by initialize().

bool FA::invokeNewFlowRequestPolicy ( Flow flow)
virtual

Implements FABase.

Definition at line 455 of file FA.cc.

bool FA::isMalformedFlow ( Flow flow)
private

Definition at line 122 of file FA.cc.

Referenced by receiveAllocateRequest().

bool FA::receiveAllocateRequest ( Flow flow)
virtual

Implements FABase.

Definition at line 220 of file FA.cc.

bool FA::receiveCreateFlowRequestFromRibd ( Flow flow)
virtual

Implements FABase.

Definition at line 334 of file FA.cc.

bool FA::receiveDeallocateRequest ( Flow flow)
virtual

Implements FABase.

Definition at line 421 of file FA.cc.

bool FA::receiveMgmtAllocateFinish ( )
virtual

Implements FABase.

Definition at line 327 of file FA.cc.

bool FA::receiveMgmtAllocateRequest ( Flow mgmtflow)
virtual

Implements FABase.

Definition at line 285 of file FA.cc.

Referenced by receiveAllocateRequest().

bool FA::receiveMgmtAllocateRequest ( APNamingInfo  src,
APNamingInfo  dst 
)
virtual

Implements FABase.

Definition at line 301 of file FA.cc.

void FA::receiveNM1FlowCreated ( Flow flow)
virtual

Implements FABase.

Definition at line 444 of file FA.cc.

Referenced by receiveCreateFlowRequestFromRibd().

bool FA::setNeighborAddresses ( Flow flow)
virtual

Implements FABase.

Definition at line 204 of file FA.cc.

Referenced by receiveAllocateRequest(), receiveCreateFlowRequestFromRibd(), and receiveNM1FlowCreated().

bool FA::setOriginalAddresses ( Flow flow)
virtual

Implements FABase.

Definition at line 191 of file FA.cc.

Referenced by receiveAllocateRequest().

void FA::signalizeCreateFlowRequestForward ( Flow flow)
private

Definition at line 509 of file FA.cc.

Referenced by receiveNM1FlowCreated().

void FA::signalizeCreateFlowResponseNegative ( Flow flow)
private

Definition at line 513 of file FA.cc.

Referenced by receiveCreateFlowRequestFromRibd().

Member Data Documentation

EFCP* FA::Efcp
private

Definition at line 97 of file FA.h.

Referenced by createFAI(), and initPointers().

EnrollmentStateTable* FA::Enrollment
private

Definition at line 101 of file FA.h.

LisFACreFloPosi* FA::lisCreFloPosi

Definition at line 87 of file FA.h.

Referenced by initSignalsAndListeners().

LisFACreReq* FA::lisCreReq

Definition at line 88 of file FA.h.

Referenced by initSignalsAndListeners().

LisFAAllocFinMgmt* FA::lisEnrollFin

Definition at line 86 of file FA.h.

Referenced by initSignalsAndListeners().

NewFlowRequestBase* FA::NFloReqPolicy
private

Definition at line 100 of file FA.h.

Referenced by initPointers(), and invokeNewFlowRequestPolicy().

RABase* FA::RaModule
private

Definition at line 99 of file FA.h.

Referenced by initPointers(), and receiveMgmtAllocateRequest().

simsignal_t FA::sigFAAllocFinMgmt

Definition at line 81 of file FA.h.

Referenced by initSignalsAndListeners(), and receiveMgmtAllocateRequest().

simsignal_t FA::sigFACreReqFwd

Definition at line 78 of file FA.h.

Referenced by initSignalsAndListeners(), and signalizeCreateFlowRequestForward().

simsignal_t FA::sigFACreResNega

Definition at line 79 of file FA.h.

Referenced by initSignalsAndListeners(), and signalizeCreateFlowResponseNegative().

simsignal_t FA::sigFACreResPosiFwd

Definition at line 80 of file FA.h.


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