RINASim  October 2016
Documentation of framework for OMNeT++
FANotifierBase Class Referenceabstract

#include <FANotifierBase.h>

Inheritance diagram for FANotifierBase:
CDAPProcessingBase FANotifier

Public Member Functions

virtual void sendCreateRequestFlow (Flow *flow)=0
 
virtual void sendCreateResponseNegative (Flow *flow)=0
 
virtual void sendCreateResponsePostive (Flow *flow)=0
 
virtual void sendDeleteRequestFlow (Flow *flow)=0
 
virtual void sendDeleteResponseFlow (Flow *flow)=0
 
virtual void receiveAllocationRequestFromFai (Flow *flow)=0
 
virtual void receiveCreateFlowPositiveFromRa (Flow *flow)=0
 
virtual void receiveCreateFlowNegativeFromRa (Flow *flow)=0
 
virtual bool isMessageProcessable (CDAPMessage *msg)
 Function checks whether CDAP message can be processed by notifier. More...
 
virtual void receiveMessage (CDAPMessage *msg)
 Function checks the type of CDAP message and passes it to appropriate processing method. More...
 
virtual void signalizeMessage (CDAPMessage *msg)=0
 Function asks for notifies about CDAP message ready to be sent. More...
 
const AddressgetMyAddress () const
 

Protected Member Functions

virtual void initialize ()
 
virtual void handleMessage (cMessage *msg)=0
 
void initMyAddress ()
 
- Protected Member Functions inherited from CDAPProcessingBase
virtual void processMConnect (CDAP_M_Connect *msg)
 Function crunching supported M_CONNECT message. More...
 
virtual void processMConnectR (CDAP_M_Connect_R *msg)
 Function crunching supported M_CONNECT_R message. More...
 
virtual void processMRelease (CDAP_M_Release *msg)
 Function crunching supported M_RELEASE message. More...
 
virtual void processMReleaseR (CDAP_M_Release_R *msg)
 Function crunching supported M_RELEASE_R message. More...
 
virtual void processMCreate (CDAP_M_Create *msg)
 Function crunching supported M_CREATE message. More...
 
virtual void processMCreateR (CDAP_M_Create_R *msg)
 Function crunching supported M_CREATE_R message. More...
 
virtual void processMDelete (CDAP_M_Delete *msg)
 Function crunching supported M_DELETE message. More...
 
virtual void processMDeleteR (CDAP_M_Delete_R *msg)
 Function crunching supported M_DELETE_R message. More...
 
virtual void processMRead (CDAP_M_Read *msg)
 Function crunching supported M_READ message. More...
 
virtual void processMReadR (CDAP_M_Read_R *msg)
 Function crunching supported M_READ_R message. More...
 
virtual void processMWrite (CDAP_M_Write *msg)
 Function crunching supported M_WRITE message. More...
 
virtual void processMWriteR (CDAP_M_Write_R *msg)
 Function crunching supported M_WRITE_R message. More...
 
virtual void processMStart (CDAP_M_Start *msg)
 Function crunching supported M_START message. More...
 
virtual void processMStartR (CDAP_M_Start_R *msg)
 Function crunching supported M_START_R message. More...
 
virtual void processMStop (CDAP_M_Stop *msg)
 Function crunching supported M_STOP message. More...
 
virtual void processMStopR (CDAP_M_Stop_R *msg)
 Function crunching supported M_STOP_R message. More...
 

Protected Attributes

Address MyAddress
 

Detailed Description

Definition at line 28 of file FANotifierBase.h.

Member Function Documentation

const Address & FANotifierBase::getMyAddress ( ) const

Definition at line 18 of file FANotifierBase.cc.

Referenced by LisRIBDAllReqFromFai::receiveSignal().

virtual void FANotifierBase::handleMessage ( cMessage *  msg)
protectedpure virtual

Implemented in FANotifier.

void FANotifierBase::initialize ( )
protectedvirtual

Reimplemented in FANotifier.

Definition at line 22 of file FANotifierBase.cc.

void FANotifierBase::initMyAddress ( )
protected

Definition at line 26 of file FANotifierBase.cc.

Referenced by initialize(), and FANotifier::initialize().

bool FANotifierBase::isMessageProcessable ( CDAPMessage msg)
virtual

Function checks whether CDAP message can be processed by notifier.

Parameters
msgIncoming CDAP message
Returns
True if CDAP message (and object inside) matches with what is supported by notifier

Implements CDAPProcessingBase.

Definition at line 34 of file FANotifierBase.cc.

Referenced by RIBd::receiveData().

virtual void FANotifierBase::receiveAllocationRequestFromFai ( Flow flow)
pure virtual

Implemented in FANotifier.

Referenced by LisRIBDAllReqFromFai::receiveSignal().

virtual void FANotifierBase::receiveCreateFlowNegativeFromRa ( Flow flow)
pure virtual

Implemented in FANotifier.

Referenced by LisRIBDCreFloNega::receiveSignal().

virtual void FANotifierBase::receiveCreateFlowPositiveFromRa ( Flow flow)
pure virtual

Implemented in FANotifier.

Referenced by LisRIBDCreFloPosi::receiveSignal().

void FANotifierBase::receiveMessage ( CDAPMessage msg)
virtual

Function checks the type of CDAP message and passes it to appropriate processing method.

Parameters
msgIncoming CDAP message

Reimplemented from CDAPProcessingBase.

Definition at line 46 of file FANotifierBase.cc.

Referenced by RIBd::receiveData().

virtual void FANotifierBase::sendCreateRequestFlow ( Flow flow)
pure virtual

Implemented in FANotifier.

Referenced by LisRIBDCreReq::receiveSignal().

virtual void FANotifierBase::sendCreateResponseNegative ( Flow flow)
pure virtual

Implemented in FANotifier.

Referenced by LisRIBDCreResNega::receiveSignal().

virtual void FANotifierBase::sendCreateResponsePostive ( Flow flow)
pure virtual

Implemented in FANotifier.

Referenced by LisRIBDCreResPosi::receiveSignal().

virtual void FANotifierBase::sendDeleteRequestFlow ( Flow flow)
pure virtual

Implemented in FANotifier.

Referenced by LisRIBDDelReq::receiveSignal().

virtual void FANotifierBase::sendDeleteResponseFlow ( Flow flow)
pure virtual

Implemented in FANotifier.

Referenced by LisRIBDDelRes::receiveSignal().

virtual void FANotifierBase::signalizeMessage ( CDAPMessage msg)
pure virtual

Function asks for notifies about CDAP message ready to be sent.

Parameters
msgOutgoing CDAP message

Implements CDAPProcessingBase.

Implemented in FANotifier.

Member Data Documentation

Address FANotifierBase::MyAddress
protected

Definition at line 48 of file FANotifierBase.h.

Referenced by getMyAddress(), and initMyAddress().


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