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

#include <AEPing.h>

Inheritance diagram for AEPing:
AE AEBase AEMyPing

Public Member Functions

 AEPing ()
 
virtual ~AEPing ()
 
virtual void afterOnStart ()
 
- Public Member Functions inherited from AE
 AE ()
 
virtual ~AE ()
 
void receiveData (CDAPMessage *obj)
 
void sendData (Flow *flow, CDAPMessage *msg)
 
void apiSwitcher (APIReqObj *obj)
 
void sendAllocationRequest (Flow *flow)
 
void sendDeallocationRequest (Flow *flow)
 
void receiveAllocationRequestFromFAI (Flow *flow)
 
void receiveDeallocationRequestFromFAI (Flow *flow)
 
void receiveAllocationResponseNegative (Flow *flow)
 
void receiveAllocationResponsePositive (Flow *flow)
 
void CACEFinished ()
 
void start (Flow *flow)
 
virtual bool onA_read (APIReqObj *obj)
 
virtual bool onA_write (APIReqObj *obj)
 
- Public Member Functions inherited from AEBase
bool hasFlow (const Flow *flow)
 
const APNamingInfogetApni () const
 
bool operator== (const AEBase &other)
 
const int getAuthType ()
 
const unsigned long getCdapConId ()
 
void setCdapConId (unsigned long cdapConId)
 
const int getStartInvokeId ()
 
void setStartInvokeId (int invokeId)
 
const std::string & getAuthName () const
 
const std::string & getAuthPassword () const
 
const std::string & getAuthOther () const
 
void changeConStatus (CDAPConnectionState conState)
 
CDAPConnectionState getConStatus ()
 
FlowgetFlowObject () const
 
void setFlowObject (Flow *flowObject)
 

Protected Member Functions

void initPing ()
 
void handleSelfMessage (cMessage *msg)
 
void prepareAllocateRequest ()
 
void preparePing ()
 
void prepareDeallocateRequest ()
 
virtual void initialize ()
 
virtual void handleMessage (cMessage *msg)
 
void onStart ()
 
void connect ()
 
virtual void onPing ()
 
virtual void onStop ()
 
virtual void processMRead (CDAPMessage *msg)
 
virtual void processMReadR (CDAPMessage *msg)
 
- Protected Member Functions inherited from AE
void initPointers ()
 
void initSignalsAndListeners ()
 
void insertFlow ()
 
bool createBindings (Flow &flow)
 
bool deleteBindings (Flow &flow)
 
void signalizeAllocateRequest (Flow *flow)
 
void signalizeDeallocateRequest (Flow *flow)
 
void signalizeSendData (cMessage *msg)
 
void signalizeAllocateResponsePositive (Flow *flow)
 
void signalizeAllocateResponseNegative (Flow *flow)
 
void signalizeConnectionRequest (CDAPMessage *msg)
 
void signalizeReleaseRequest (CDAPMessage *msg)
 
void signalizeAEAPAPI (APIResult *obj)
 
virtual void processMWrite (CDAPMessage *msg)
 
virtual void processMWriteR (CDAPMessage *msg)
 
- Protected Member Functions inherited from AEBase
const std::string & getSrcAeInstance () const
 
void setSrcAeInstance (const std::string &srcAeInstance)
 
const std::string & getSrcAeName () const
 
void setSrcAeName (const std::string &srcAeName)
 
const std::string & getSrcApInstance () const
 
void setSrcApInstance (const std::string &srcApInstance)
 
const std::string & getSrcApName () const
 
void setSrcApName (const std::string &srcApName)
 
void setApni (const APNamingInfo &apni)
 
void setFlows (const Flows &flows)
 
const QoSReqgetQoSRequirements () const
 
void setQoSRequirements (const QoSReq &qoSRequirements)
 
void initNamingInfo ()
 
void initQoSRequiremets ()
 
void insertFlow (Flow &flow)
 

Protected Attributes

std::string dstApName
 
std::string dstApInstance
 
std::string dstAeName
 
std::string dstAeInstance
 
simtime_t startAt
 
simtime_t stopAt
 
simtime_t pingAt
 
int rate
 
unsigned int size
 
- Protected Attributes inherited from AE
IRMIrm
 
cModule * Cdap
 
CACEGenericCace
 
simsignal_t sigAEAllocReq
 
simsignal_t sigAEDeallocReq
 
simsignal_t sigAESendData
 
simsignal_t sigAEAllocResPosi
 
simsignal_t sigAEAllocResNega
 
simsignal_t sigAEConReq
 
simsignal_t sigAERelReq
 
simsignal_t sigAEEnrolled
 
simsignal_t sigAEAPAPI
 
LisAEReceiveDatalisAERcvData
 
LisAEAllReqFromFailisAEAllReqFromFai
 
LisAEAllResPosilisAEAllResPosi
 
LisAEAllResNegalisAEAllResNega
 
LisAEDeallReqFromFailisAEDeallReqFromFai
 
LisAEDeallReqFromFailisAEDeallResFromFai
 
LisAEConResPosilisAEConResPosi
 
LisAEConResNegalisAEConResNega
 
LisAERelReslisAERelRes
 
LisAEEnrolledlisAEEnrolled
 
LisAPAEAPIlisAPAEAPI
 
- Protected Attributes inherited from AEBase
int startInvokeId
 
unsigned long cdapConId
 
FlowFlowObject
 
APNamingInfo apni
 
std::string srcApName
 
std::string srcApInstance
 
std::string srcAeName
 
std::string srcAeInstance
 
int authType
 
std::string authName
 
std::string authPassword
 
std::string authOther
 
int maxConRetries
 
QoSReq QoSRequirements
 
CDAPConnectionState connectionState
 

Private Attributes

const char * TIM_START
 
const char * TIM_STOP
 
const char * MSG_PING
 
const char * PAR_START
 
const char * PAR_STOP
 
const char * PAR_PING
 
const char * PAR_RATE
 
const char * PAR_SIZE
 
const char * PAR_DSTAPNAME
 
const char * PAR_DSTAPINSTANCE
 
const char * PAR_DSTAENAME
 
const char * PAR_DSTAEINSTANCE
 
const char * VAL_MODULEPATH
 
std::string myPath
 

Detailed Description

Definition at line 31 of file AEPing.h.

Constructor & Destructor Documentation

AEPing::AEPing ( )

Definition at line 27 of file AEPing.cc.

AEPing::~AEPing ( )
virtual

Definition at line 44 of file AEPing.cc.

Member Function Documentation

void AEPing::afterOnStart ( )
virtual

Reimplemented from AE.

Reimplemented in AEMyPing.

Definition at line 163 of file AEPing.cc.

void AEPing::connect ( )
protectedvirtual

Reimplemented from AE.

Definition at line 149 of file AEPing.cc.

Referenced by onStart().

void AEPing::handleMessage ( cMessage *  msg)
protectedvirtual

Reimplemented from AE.

Reimplemented in AEMyPing.

Definition at line 139 of file AEPing.cc.

void AEPing::handleSelfMessage ( cMessage *  msg)
protected

Definition at line 123 of file AEPing.cc.

Referenced by AEMyPing::handleMessage(), and handleMessage().

void AEPing::initialize ( )
protectedvirtual

Reimplemented from AE.

Reimplemented in AEMyPing.

Definition at line 116 of file AEPing.cc.

void AEPing::initPing ( )
protected

Definition at line 73 of file AEPing.cc.

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

void AEPing::onPing ( )
protectedvirtual

Reimplemented in AEMyPing.

Definition at line 181 of file AEPing.cc.

Referenced by handleSelfMessage().

void AEPing::onStart ( )
protected

Definition at line 145 of file AEPing.cc.

Referenced by handleSelfMessage().

void AEPing::onStop ( )
protectedvirtual

Reimplemented in AEMyPing.

Definition at line 198 of file AEPing.cc.

Referenced by handleSelfMessage().

void AEPing::prepareAllocateRequest ( )
protected

Definition at line 51 of file AEPing.cc.

Referenced by initPing().

void AEPing::prepareDeallocateRequest ( )
protected

Definition at line 67 of file AEPing.cc.

Referenced by initPing().

void AEPing::preparePing ( )
protected

Definition at line 57 of file AEPing.cc.

Referenced by initPing().

void AEPing::processMRead ( CDAPMessage msg)
protectedvirtual

Reimplemented from AE.

Reimplemented in AEMyPing.

Definition at line 204 of file AEPing.cc.

void AEPing::processMReadR ( CDAPMessage msg)
protectedvirtual

Reimplemented from AE.

Reimplemented in AEMyPing.

Definition at line 231 of file AEPing.cc.

Member Data Documentation

std::string AEPing::dstAeInstance
protected

Definition at line 57 of file AEPing.h.

Referenced by AEMyPing::afterOnStart(), afterOnStart(), connect(), and initPing().

std::string AEPing::dstAeName
protected

Definition at line 56 of file AEPing.h.

Referenced by AEMyPing::afterOnStart(), afterOnStart(), connect(), and initPing().

std::string AEPing::dstApInstance
protected

Definition at line 55 of file AEPing.h.

Referenced by AEMyPing::afterOnStart(), afterOnStart(), connect(), and initPing().

std::string AEPing::dstApName
protected

Definition at line 54 of file AEPing.h.

Referenced by AEMyPing::afterOnStart(), afterOnStart(), connect(), and initPing().

const char* AEPing::MSG_PING
private

Definition at line 36 of file AEPing.h.

Referenced by AEPing(), handleSelfMessage(), and preparePing().

std::string AEPing::myPath
private

Definition at line 87 of file AEPing.h.

Referenced by initialize(), onPing(), and processMRead().

const char* AEPing::PAR_DSTAEINSTANCE
private

Definition at line 45 of file AEPing.h.

Referenced by AEPing(), and initPing().

const char* AEPing::PAR_DSTAENAME
private

Definition at line 44 of file AEPing.h.

Referenced by AEPing(), and initPing().

const char* AEPing::PAR_DSTAPINSTANCE
private

Definition at line 43 of file AEPing.h.

Referenced by AEPing(), and initPing().

const char* AEPing::PAR_DSTAPNAME
private

Definition at line 42 of file AEPing.h.

Referenced by AEPing(), and initPing().

const char* AEPing::PAR_PING
private

Definition at line 39 of file AEPing.h.

Referenced by AEPing(), and initPing().

const char* AEPing::PAR_RATE
private

Definition at line 40 of file AEPing.h.

Referenced by AEPing(), and initPing().

const char* AEPing::PAR_SIZE
private

Definition at line 41 of file AEPing.h.

Referenced by AEPing(), and initPing().

const char* AEPing::PAR_START
private

Definition at line 37 of file AEPing.h.

Referenced by AEPing(), and initPing().

const char* AEPing::PAR_STOP
private

Definition at line 38 of file AEPing.h.

Referenced by AEPing(), and initPing().

simtime_t AEPing::pingAt
protected

Definition at line 61 of file AEPing.h.

Referenced by initPing(), and preparePing().

int AEPing::rate
protected

Definition at line 62 of file AEPing.h.

Referenced by initPing(), and preparePing().

unsigned int AEPing::size
protected

Definition at line 63 of file AEPing.h.

Referenced by initPing(), AEMyPing::onPing(), and onPing().

simtime_t AEPing::startAt
protected

Definition at line 59 of file AEPing.h.

Referenced by initPing(), and prepareAllocateRequest().

simtime_t AEPing::stopAt
protected

Definition at line 60 of file AEPing.h.

Referenced by initPing(), prepareDeallocateRequest(), and preparePing().

const char* AEPing::TIM_START
private

Definition at line 34 of file AEPing.h.

Referenced by AEPing(), handleSelfMessage(), and prepareAllocateRequest().

const char* AEPing::TIM_STOP
private

Definition at line 35 of file AEPing.h.

Referenced by AEPing(), handleSelfMessage(), and prepareDeallocateRequest().

const char* AEPing::VAL_MODULEPATH
private

Definition at line 46 of file AEPing.h.

Referenced by AEPing(), onPing(), processMRead(), and processMReadR().


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