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

#include <AEStream.h>

Inheritance diagram for AEStream:
AE AEBase

Public Member Functions

 AEStream ()
 
- 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

virtual void initialize ()
 
virtual void handleMessage (cMessage *msg)
 
void handleSelfMessage (cMessage *msg)
 
void onStart ()
 
void afterOnStart ()
 
void prepareAllocateRequest ()
 
void prepareStreamData ()
 
void prepareDeallocateRequest ()
 
virtual void processMRead (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 connect ()
 
virtual void processMReadR (CDAPMessage *msg)
 
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 beginStreamAt
 
simtime_t endStreamAt
 
unsigned int size
 
double interval
 
- 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_STDATA
 
const char * PAR_START
 
const char * PAR_STOP
 
const char * PAR_BEGIN
 
const char * PAR_END
 
const char * PAR_INTERVAL
 
const char * PAR_SIZE
 
const char * PAR_DSTAPNAME
 
const char * PAR_DSTAPINSTANCE
 
const char * PAR_DSTAENAME
 
const char * PAR_DSTAEINSTANCE
 

Detailed Description

Definition at line 32 of file AEStream.h.

Constructor & Destructor Documentation

AEStream::AEStream ( )

Definition at line 27 of file AEStream.cc.

Member Function Documentation

void AEStream::afterOnStart ( )
protectedvirtual

Reimplemented from AE.

Definition at line 108 of file AEStream.cc.

void AEStream::handleMessage ( cMessage *  msg)
protectedvirtual

Reimplemented from AE.

Definition at line 87 of file AEStream.cc.

void AEStream::handleSelfMessage ( cMessage *  msg)
protected

Definition at line 123 of file AEStream.cc.

Referenced by handleMessage().

void AEStream::initialize ( )
protectedvirtual

Reimplemented from AE.

Definition at line 45 of file AEStream.cc.

void AEStream::onStart ( )
protected

Definition at line 93 of file AEStream.cc.

Referenced by handleSelfMessage().

void AEStream::prepareAllocateRequest ( )
protected

Definition at line 149 of file AEStream.cc.

Referenced by initialize().

void AEStream::prepareDeallocateRequest ( )
protected

Definition at line 166 of file AEStream.cc.

Referenced by initialize().

void AEStream::prepareStreamData ( )
protected

Definition at line 155 of file AEStream.cc.

Referenced by initialize().

void AEStream::processMRead ( CDAPMessage msg)
protectedvirtual

Reimplemented from AE.

Definition at line 172 of file AEStream.cc.

Member Data Documentation

simtime_t AEStream::beginStreamAt
protected

Definition at line 60 of file AEStream.h.

Referenced by initialize(), and prepareStreamData().

std::string AEStream::dstAeInstance
protected

Definition at line 56 of file AEStream.h.

Referenced by afterOnStart(), initialize(), and onStart().

std::string AEStream::dstAeName
protected

Definition at line 55 of file AEStream.h.

Referenced by afterOnStart(), initialize(), and onStart().

std::string AEStream::dstApInstance
protected

Definition at line 54 of file AEStream.h.

Referenced by afterOnStart(), initialize(), and onStart().

std::string AEStream::dstApName
protected

Definition at line 53 of file AEStream.h.

Referenced by afterOnStart(), initialize(), and onStart().

simtime_t AEStream::endStreamAt
protected

Definition at line 61 of file AEStream.h.

Referenced by initialize(), and prepareStreamData().

double AEStream::interval
protected

Definition at line 64 of file AEStream.h.

Referenced by initialize(), and prepareStreamData().

const char* AEStream::MSG_STDATA
private

Definition at line 37 of file AEStream.h.

Referenced by AEStream(), handleSelfMessage(), and prepareStreamData().

const char* AEStream::PAR_BEGIN
private

Definition at line 40 of file AEStream.h.

Referenced by AEStream(), and initialize().

const char* AEStream::PAR_DSTAEINSTANCE
private

Definition at line 47 of file AEStream.h.

Referenced by AEStream(), and initialize().

const char* AEStream::PAR_DSTAENAME
private

Definition at line 46 of file AEStream.h.

Referenced by AEStream(), and initialize().

const char* AEStream::PAR_DSTAPINSTANCE
private

Definition at line 45 of file AEStream.h.

Referenced by AEStream(), and initialize().

const char* AEStream::PAR_DSTAPNAME
private

Definition at line 44 of file AEStream.h.

Referenced by AEStream(), and initialize().

const char* AEStream::PAR_END
private

Definition at line 41 of file AEStream.h.

Referenced by AEStream(), and initialize().

const char* AEStream::PAR_INTERVAL
private

Definition at line 42 of file AEStream.h.

Referenced by AEStream(), and initialize().

const char* AEStream::PAR_SIZE
private

Definition at line 43 of file AEStream.h.

Referenced by AEStream(), and initialize().

const char* AEStream::PAR_START
private

Definition at line 38 of file AEStream.h.

Referenced by AEStream(), and initialize().

const char* AEStream::PAR_STOP
private

Definition at line 39 of file AEStream.h.

Referenced by AEStream(), and initialize().

unsigned int AEStream::size
protected

Definition at line 63 of file AEStream.h.

Referenced by handleSelfMessage(), and initialize().

simtime_t AEStream::startAt
protected

Definition at line 58 of file AEStream.h.

Referenced by initialize(), and prepareAllocateRequest().

simtime_t AEStream::stopAt
protected

Definition at line 59 of file AEStream.h.

Referenced by initialize(), and prepareDeallocateRequest().

const char* AEStream::TIM_START
private

Definition at line 35 of file AEStream.h.

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

const char* AEStream::TIM_STOP
private

Definition at line 36 of file AEStream.h.

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


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