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

Abstract class implementing processing of any CDAP message. More...

#include <CDAPProcessingBase.h>

Inheritance diagram for CDAPProcessingBase:
DAFEnrollmentNotifierBase EnrollmentNotifierBase FANotifierBase RoutingNotifierBase DAFEnrollmentNotifier EnrollmentNotifier FANotifier RoutingNotifier

Public Member Functions

virtual void receiveMessage (CDAPMessage *msg)
 Function checks the type of CDAP message and passes it to appropriate processing method. More...
 
virtual bool isMessageProcessable (CDAPMessage *msg)=0
 Function checks whether CDAP message can be processed by notifier. More...
 

Protected Member Functions

virtual void signalizeMessage (CDAPMessage *msg)=0
 Function asks for notifies about CDAP message ready to be sent. More...
 
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...
 

Private Member Functions

std::string infoMessage (CDAPMessage *msg)
 
std::string infoObject (object_t obj)
 

Detailed Description

Abstract class implementing processing of any CDAP message.

Authors
Vladimir Vesely (ivese.nosp@m.ly@f.nosp@m.it.vu.nosp@m.tbr..nosp@m.cz)
Date
Last refactorized and documented on 2015-10-07

Definition at line 29 of file CDAPProcessingBase.h.

Member Function Documentation

std::string CDAPProcessingBase::infoMessage ( CDAPMessage msg)
private

Prints out and returns textual representation of general CDAP message header

Parameters
msg
Returns
String representing header of general CDAP message

Definition at line 148 of file CDAPProcessingBase.cc.

Referenced by processMConnect(), processMConnectR(), processMCreate(), processMDeleteR(), processMRead(), processMReadR(), processMRelease(), processMReleaseR(), processMStart(), processMStartR(), processMStop(), processMStopR(), processMWrite(), and processMWriteR().

std::string CDAPProcessingBase::infoObject ( object_t  obj)
private

Definition at line 189 of file CDAPProcessingBase.cc.

bool CDAPProcessingBase::isMessageProcessable ( CDAPMessage msg)
pure 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

Implemented in FANotifierBase, DAFEnrollmentNotifierBase, EnrollmentNotifierBase, and RoutingNotifierBase.

Definition at line 185 of file CDAPProcessingBase.cc.

void CDAPProcessingBase::processMConnect ( CDAP_M_Connect msg)
protectedvirtual

Function crunching supported M_CONNECT message.

Parameters
msgIncoming CDAP M_CONNECT message

Reimplemented in DAFEnrollmentNotifier, and EnrollmentNotifier.

Definition at line 86 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMConnectR ( CDAP_M_Connect_R msg)
protectedvirtual

Function crunching supported M_CONNECT_R message.

Parameters
msgIncoming CDAP M_CONNECT_R message

Reimplemented in DAFEnrollmentNotifier, and EnrollmentNotifier.

Definition at line 90 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMCreate ( CDAP_M_Create msg)
protectedvirtual

Function crunching supported M_CREATE message.

Parameters
msgIncoming CDAP M_CREATE message

Reimplemented in FANotifier.

Definition at line 102 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMCreateR ( CDAP_M_Create_R msg)
protectedvirtual

Function crunching supported M_CREATE_R message.

Parameters
msgIncoming CDAP M_CREATE_R message

Reimplemented in FANotifier.

Definition at line 106 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMDelete ( CDAP_M_Delete msg)
protectedvirtual

Function crunching supported M_DELETE message.

Parameters
msgIncoming CDAP M_DELETE message

Reimplemented in FANotifier.

Definition at line 109 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMDeleteR ( CDAP_M_Delete_R msg)
protectedvirtual

Function crunching supported M_DELETE_R message.

Parameters
msgIncoming CDAP M_DELETE_R message

Reimplemented in FANotifier.

Definition at line 112 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMRead ( CDAP_M_Read msg)
protectedvirtual

Function crunching supported M_READ message.

Parameters
msgIncoming CDAP M_READ message

Definition at line 116 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMReadR ( CDAP_M_Read_R msg)
protectedvirtual

Function crunching supported M_READ_R message.

Parameters
msgIncoming CDAP M_READ_R message

Definition at line 120 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMRelease ( CDAP_M_Release msg)
protectedvirtual

Function crunching supported M_RELEASE message.

Parameters
msgIncoming CDAP M_RELEASE message

Definition at line 94 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMReleaseR ( CDAP_M_Release_R msg)
protectedvirtual

Function crunching supported M_RELEASE_R message.

Parameters
msgIncoming CDAP M_RELEASE_R message

Definition at line 98 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMStart ( CDAP_M_Start msg)
protectedvirtual

Function crunching supported M_START message.

Parameters
msgIncoming CDAP M_START message

Reimplemented in DAFEnrollmentNotifier, and EnrollmentNotifier.

Definition at line 132 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMStartR ( CDAP_M_Start_R msg)
protectedvirtual

Function crunching supported M_START_R message.

Parameters
msgIncoming CDAP M_START_R message

Reimplemented in DAFEnrollmentNotifier, and EnrollmentNotifier.

Definition at line 136 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMStop ( CDAP_M_Stop msg)
protectedvirtual

Function crunching supported M_STOP message.

Parameters
msgIncoming CDAP M_STOP message

Reimplemented in DAFEnrollmentNotifier, and EnrollmentNotifier.

Definition at line 140 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMStopR ( CDAP_M_Stop_R msg)
protectedvirtual

Function crunching supported M_STOP_R message.

Parameters
msgIncoming CDAP M_STOP_R message

Reimplemented in DAFEnrollmentNotifier, and EnrollmentNotifier.

Definition at line 144 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMWrite ( CDAP_M_Write msg)
protectedvirtual

Function crunching supported M_WRITE message.

Parameters
msgIncoming CDAP M_WRITE message

Reimplemented in RoutingNotifier.

Definition at line 124 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::processMWriteR ( CDAP_M_Write_R msg)
protectedvirtual

Function crunching supported M_WRITE_R message.

Parameters
msgIncoming CDAP M_WRITE_R message

Definition at line 128 of file CDAPProcessingBase.cc.

Referenced by receiveMessage().

void CDAPProcessingBase::receiveMessage ( CDAPMessage msg)
virtual

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

Parameters
msgIncoming CDAP message

Reimplemented in FANotifierBase, DAFEnrollmentNotifierBase, EnrollmentNotifierBase, and RoutingNotifierBase.

Definition at line 18 of file CDAPProcessingBase.cc.

Referenced by RoutingNotifierBase::receiveMessage(), EnrollmentNotifierBase::receiveMessage(), DAFEnrollmentNotifierBase::receiveMessage(), and FANotifierBase::receiveMessage().

virtual void CDAPProcessingBase::signalizeMessage ( CDAPMessage msg)
protectedpure virtual

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

Parameters
msgOutgoing CDAP message

Implemented in FANotifier, DAFEnrollmentNotifier, EnrollmentNotifier, RoutingNotifier, FANotifierBase, DAFEnrollmentNotifierBase, EnrollmentNotifierBase, and RoutingNotifierBase.


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