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

#include <AESInt.h>

Inheritance diagram for AESInt:
AE AEBase AEBStream::AEBStream AEData::AEData AEVideo::AEVideo AEVoice::AEVoice

Public Member Functions

 AESInt ()
 
virtual ~AESInt ()
 
- 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 doIni ()=0
 
virtual void doFin ()=0
 
virtual void iniCom ()=0
 
virtual void processMsg (_AESInt_self *)
 
virtual void processMsg (_PingMsg *)
 
virtual void processMsg (_PongMsg *)
 
void sendMsg (_PingMsg *, int)
 
void sendMsg (_PongMsg *, int)
 
- 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)
 

Protected Attributes

bool inTime
 
int maxSize
 
- 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 Member Functions

virtual void initialize ()
 
virtual void finish ()
 
virtual void handleMessage (cMessage *msg)
 
void handleSelfMessage (cMessage *msg)
 
virtual void processMRead (CDAPMessage *msg)
 
virtual void processMReadR (CDAPMessage *msg)
 
double dround (double a, int ndigits)
 

Private Attributes

std::string dstApName
 
std::string dstApInstance
 
std::string dstAeName
 
std::string dstAeInstance
 
simtime_t startAt
 
simtime_t stopAt
 
simtime_t sendDuring
 
simtime_t sendAfter
 
long send
 
long received
 
long sendSize
 
long receivedSize
 
double recTimes
 
std::map< double, int > times
 
simtime_t maxDelay
 
simtime_t sumDelay
 

Detailed Description

Definition at line 47 of file AESInt.h.

Constructor & Destructor Documentation

AESInt::AESInt ( )

Definition at line 37 of file AESInt.cc.

AESInt::~AESInt ( )
virtual

Definition at line 39 of file AESInt.cc.

Member Function Documentation

virtual void AESInt::doFin ( )
protectedpure virtual
virtual void AESInt::doIni ( )
protectedpure virtual
double AESInt::dround ( double  a,
int  ndigits 
)
private

Definition at line 219 of file AESInt.cc.

Referenced by processMReadR().

void AESInt::finish ( )
privatevirtual

Definition at line 113 of file AESInt.cc.

void AESInt::handleMessage ( cMessage *  msg)
privatevirtual

Reimplemented from AE.

Definition at line 159 of file AESInt.cc.

void AESInt::handleSelfMessage ( cMessage *  msg)
private

Definition at line 139 of file AESInt.cc.

Referenced by handleMessage().

virtual void AESInt::iniCom ( )
protectedpure virtual
void AESInt::initialize ( )
privatevirtual

Reimplemented from AE.

Definition at line 46 of file AESInt.cc.

void AESInt::processMRead ( CDAPMessage msg)
privatevirtual

Reimplemented from AE.

Definition at line 169 of file AESInt.cc.

void AESInt::processMReadR ( CDAPMessage msg)
privatevirtual

Reimplemented from AE.

Definition at line 175 of file AESInt.cc.

void AESInt::processMsg ( _AESInt_self msg)
protectedvirtual

Reimplemented in AEData::AEData, AEBStream::AEBStream, AEVoice::AEVoice, and AEVideo::AEVideo.

Definition at line 209 of file AESInt.cc.

Referenced by handleMessage(), processMRead(), and processMReadR().

void AESInt::processMsg ( _PingMsg ping)
protectedvirtual

Definition at line 211 of file AESInt.cc.

void AESInt::processMsg ( _PongMsg )
protectedvirtual

Definition at line 216 of file AESInt.cc.

void AESInt::sendMsg ( _PingMsg msg,
int  size 
)
protected

Definition at line 196 of file AESInt.cc.

Referenced by processMsg().

void AESInt::sendMsg ( _PongMsg msg,
int  size 
)
protected

Definition at line 204 of file AESInt.cc.

Member Data Documentation

std::string AESInt::dstAeInstance
private

Definition at line 72 of file AESInt.h.

Referenced by handleSelfMessage(), and initialize().

std::string AESInt::dstAeName
private

Definition at line 71 of file AESInt.h.

Referenced by handleSelfMessage(), and initialize().

std::string AESInt::dstApInstance
private

Definition at line 70 of file AESInt.h.

Referenced by handleSelfMessage(), and initialize().

std::string AESInt::dstApName
private

Definition at line 69 of file AESInt.h.

Referenced by handleSelfMessage(), and initialize().

bool AESInt::inTime
protected

Definition at line 54 of file AESInt.h.

Referenced by handleSelfMessage(), and initialize().

simtime_t AESInt::maxDelay
private

Definition at line 87 of file AESInt.h.

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

int AESInt::maxSize
protected

Definition at line 55 of file AESInt.h.

Referenced by initialize().

long AESInt::received
private

Definition at line 80 of file AESInt.h.

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

long AESInt::receivedSize
private

Definition at line 82 of file AESInt.h.

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

double AESInt::recTimes
private

Definition at line 84 of file AESInt.h.

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

long AESInt::send
private

Definition at line 79 of file AESInt.h.

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

simtime_t AESInt::sendAfter
private

Definition at line 77 of file AESInt.h.

Referenced by handleSelfMessage(), and initialize().

simtime_t AESInt::sendDuring
private

Definition at line 76 of file AESInt.h.

Referenced by initialize().

long AESInt::sendSize
private

Definition at line 81 of file AESInt.h.

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

simtime_t AESInt::startAt
private

Definition at line 74 of file AESInt.h.

Referenced by initialize().

simtime_t AESInt::stopAt
private

Definition at line 75 of file AESInt.h.

Referenced by handleSelfMessage(), and initialize().

simtime_t AESInt::sumDelay
private

Definition at line 88 of file AESInt.h.

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

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

Definition at line 85 of file AESInt.h.

Referenced by finish(), and processMReadR().


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