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

#include <AESender.h>

Inheritance diagram for AESender:
AE AEBase

Public Member Functions

 AESender ()
 
virtual ~AESender ()
 
- 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)
 
virtual void afterOnStart ()
 
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

virtual void initialize ()
 
virtual void finish ()
 
virtual void handleMessage (cMessage *msg)
 
void handleSelfMessage (cMessage *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 connect ()
 
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)
 

Private Member Functions

void prepareAllocateRequest ()
 
void preparePing ()
 
void prepareDeallocateRequest ()
 
virtual void processMRead (CDAPMessage *msg)
 
virtual void processMReadR (CDAPMessage *msg)
 
double dround (double a, int ndigits)
 

Private Attributes

const char * S_TIM_START
 
const char * S_TIM_COM
 
const char * S_TIM_STOP
 
const char * S_PAR_START
 
const char * S_PAR_STOP
 
const char * S_PAR_SEND
 
const char * S_PAR_DSTAPNAME
 
const char * S_PAR_DSTAPINSTANCE
 
const char * S_PAR_DSTAENAME
 
const char * S_PAR_DSTAEINSTANCE
 
const char * S_PAR_RATE
 
const char * S_PAR_RATE_VAR
 
const char * S_PAR_SIZE
 
const char * S_PAR_SIZE_VAR
 
const char * S_MSG_PING
 
const char * S_PAR_PING
 
const char * S_VAL_MODULEPATH
 
std::string myPath
 
std::string dstApName
 
std::string dstApInstance
 
std::string dstAeName
 
std::string dstAeInstance
 
int pduburst
 
double recTimes
 
simtime_t startAt
 
simtime_t stopAt
 
simtime_t sendAfter
 
double rate
 
double ratevar
 
unsigned int size
 
unsigned int sizevar
 
long send
 
long pingreceived
 
long received
 
long sendSize
 
long pingreceivedSize
 
long receivedSize
 
simtime_t minDelay
 
simtime_t maxDelay
 
simtime_t firstR
 
simtime_t lastR
 
std::map< double, int > times
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 49 of file AESender.h.

Constructor & Destructor Documentation

AESender::AESender ( )

Definition at line 48 of file AESender.cc.

AESender::~AESender ( )
virtual

Definition at line 72 of file AESender.cc.

Member Function Documentation

double AESender::dround ( double  a,
int  ndigits 
)
private

Definition at line 302 of file AESender.cc.

Referenced by processMReadR().

void AESender::finish ( )
protectedvirtual

Definition at line 168 of file AESender.cc.

void AESender::handleMessage ( cMessage *  msg)
protectedvirtual

Reimplemented from AE.

Definition at line 246 of file AESender.cc.

void AESender::handleSelfMessage ( cMessage *  msg)
protected

Definition at line 192 of file AESender.cc.

Referenced by handleMessage().

void AESender::initialize ( )
protectedvirtual

Reimplemented from AE.

Definition at line 92 of file AESender.cc.

void AESender::prepareAllocateRequest ( )
private

Definition at line 79 of file AESender.cc.

Referenced by initialize().

void AESender::prepareDeallocateRequest ( )
private

Definition at line 86 of file AESender.cc.

void AESender::preparePing ( )
private
void AESender::processMRead ( CDAPMessage msg)
privatevirtual

Reimplemented from AE.

Definition at line 252 of file AESender.cc.

void AESender::processMReadR ( CDAPMessage msg)
privatevirtual

Reimplemented from AE.

Definition at line 277 of file AESender.cc.

Member Data Documentation

std::string AESender::dstAeInstance
private

Definition at line 91 of file AESender.h.

Referenced by handleSelfMessage(), and initialize().

std::string AESender::dstAeName
private

Definition at line 90 of file AESender.h.

Referenced by handleSelfMessage(), and initialize().

std::string AESender::dstApInstance
private

Definition at line 89 of file AESender.h.

Referenced by handleSelfMessage(), and initialize().

std::string AESender::dstApName
private

Definition at line 88 of file AESender.h.

Referenced by handleSelfMessage(), and initialize().

simtime_t AESender::firstR
private

Definition at line 116 of file AESender.h.

Referenced by finish(), initialize(), and processMReadR().

simtime_t AESender::lastR
private

Definition at line 117 of file AESender.h.

Referenced by finish(), initialize(), and processMReadR().

simtime_t AESender::maxDelay
private

Definition at line 115 of file AESender.h.

Referenced by finish(), initialize(), and processMReadR().

simtime_t AESender::minDelay
private

Definition at line 114 of file AESender.h.

Referenced by finish(), initialize(), and processMReadR().

std::string AESender::myPath
private

Definition at line 86 of file AESender.h.

Referenced by initialize().

int AESender::pduburst
private

Definition at line 93 of file AESender.h.

Referenced by handleSelfMessage(), and initialize().

long AESender::pingreceived
private

Definition at line 108 of file AESender.h.

Referenced by initialize().

long AESender::pingreceivedSize
private

Definition at line 111 of file AESender.h.

Referenced by initialize().

double AESender::rate
private

Definition at line 101 of file AESender.h.

Referenced by handleSelfMessage(), and initialize().

double AESender::ratevar
private

Definition at line 102 of file AESender.h.

Referenced by handleSelfMessage(), and initialize().

long AESender::received
private

Definition at line 109 of file AESender.h.

Referenced by finish(), initialize(), and processMReadR().

long AESender::receivedSize
private

Definition at line 112 of file AESender.h.

Referenced by finish(), initialize(), and processMReadR().

double AESender::recTimes
private

Definition at line 95 of file AESender.h.

Referenced by finish(), initialize(), and processMReadR().

const char* AESender::S_MSG_PING
private

Definition at line 70 of file AESender.h.

Referenced by AESender().

const char* AESender::S_PAR_DSTAEINSTANCE
private

Definition at line 63 of file AESender.h.

Referenced by AESender(), and initialize().

const char* AESender::S_PAR_DSTAENAME
private

Definition at line 62 of file AESender.h.

Referenced by AESender(), and initialize().

const char* AESender::S_PAR_DSTAPINSTANCE
private

Definition at line 61 of file AESender.h.

Referenced by AESender(), and initialize().

const char* AESender::S_PAR_DSTAPNAME
private

Definition at line 60 of file AESender.h.

Referenced by AESender(), and initialize().

const char* AESender::S_PAR_PING
private

Definition at line 71 of file AESender.h.

Referenced by AESender().

const char* AESender::S_PAR_RATE
private

Definition at line 65 of file AESender.h.

Referenced by AESender(), and initialize().

const char* AESender::S_PAR_RATE_VAR
private

Definition at line 66 of file AESender.h.

Referenced by AESender(), and initialize().

const char* AESender::S_PAR_SEND
private

Definition at line 58 of file AESender.h.

Referenced by AESender(), and initialize().

const char* AESender::S_PAR_SIZE
private

Definition at line 67 of file AESender.h.

Referenced by AESender(), and initialize().

const char* AESender::S_PAR_SIZE_VAR
private

Definition at line 68 of file AESender.h.

Referenced by AESender(), and initialize().

const char* AESender::S_PAR_START
private

Definition at line 56 of file AESender.h.

Referenced by AESender(), and initialize().

const char* AESender::S_PAR_STOP
private

Definition at line 57 of file AESender.h.

Referenced by AESender(), and initialize().

const char* AESender::S_TIM_COM
private

Definition at line 53 of file AESender.h.

Referenced by AESender(), and handleSelfMessage().

const char* AESender::S_TIM_START
private

Definition at line 52 of file AESender.h.

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

const char* AESender::S_TIM_STOP
private

Definition at line 54 of file AESender.h.

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

const char* AESender::S_VAL_MODULEPATH
private

Definition at line 72 of file AESender.h.

Referenced by AESender().

long AESender::send
private

Definition at line 107 of file AESender.h.

Referenced by finish(), handleSelfMessage(), and initialize().

simtime_t AESender::sendAfter
private

Definition at line 99 of file AESender.h.

Referenced by handleSelfMessage(), and initialize().

long AESender::sendSize
private

Definition at line 110 of file AESender.h.

Referenced by finish(), handleSelfMessage(), and initialize().

unsigned int AESender::size
private

Definition at line 104 of file AESender.h.

Referenced by handleSelfMessage(), and initialize().

unsigned int AESender::sizevar
private

Definition at line 105 of file AESender.h.

Referenced by handleSelfMessage(), and initialize().

simtime_t AESender::startAt
private

Definition at line 97 of file AESender.h.

Referenced by initialize(), and prepareAllocateRequest().

simtime_t AESender::stopAt
private

Definition at line 98 of file AESender.h.

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

std::map<double, int> AESender::times
private

Definition at line 127 of file AESender.h.

Referenced by finish(), and processMReadR().


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