RINASim
October 2016
Documentation of framework for OMNeT++
|
Connection identifier as defined in specifications. More...
#include <ConnectionId.h>
Public Member Functions | |
ConnectionId () | |
Constructor of blank ConnectionId. More... | |
virtual | ~ConnectionId () |
Destructor assigning undefined values. More... | |
int | getDstCepId () const |
Getter of destination Connection-Endpoint identifier. More... | |
void | setDstCepId (int destCepId) |
Setter of destination Connection-Endpoint identifier. More... | |
std::string | getQoSId () const |
Getter of selected QoS-cube identifier. More... | |
void | setQoSId (std::string qoSId) |
Setter of selected QoS-cube identifier. More... | |
int | getSrcCepId () const |
Getter of source Connection-Endpoint identifier. More... | |
void | setSrcCepId (int srcCepId) |
Setter of source Connection-Endpoint identifier. More... | |
bool | operator< (const ConnectionId other) const |
Less operator overload. More... | |
bool | operator== (const ConnectionId other) const |
Equal operator overload. More... | |
virtual ConnectionId * | dup () const |
Duplicate overload creates exact copy of ConnectionId. More... | |
ConnectionId & | swapCepIds () |
Exchanges source and destination CEP identifiers. More... | |
std::string | info () const |
Info text outpu suitable for << strinng streams and WATCH. More... | |
Protected Attributes | |
std::string | qosId |
QoS-cube identifier. More... | |
int | srcCEPId |
Source Connection-Endpoint identifier. More... | |
int | dstCEPId |
Destination Connection-Endpoint identifier. More... | |
Connection identifier as defined in specifications.
Definition at line 42 of file ConnectionId.h.
ConnectionId::ConnectionId | ( | ) |
Constructor of blank ConnectionId.
Definition at line 29 of file ConnectionId.cc.
Referenced by dup().
|
virtual |
Destructor assigning undefined values.
Definition at line 64 of file ConnectionId.cc.
|
virtual |
Duplicate overload creates exact copy of ConnectionId.
Definition at line 71 of file ConnectionId.cc.
Referenced by MockEFCPI::handleMessage().
int ConnectionId::getDstCepId | ( | ) | const |
Getter of destination Connection-Endpoint identifier.
Definition at line 34 of file ConnectionId.cc.
Referenced by CongestionDescriptor::dup(), AEConstantClient::finish(), CongestionDescriptor::getCongesDescrName(), AEConstantClient::handleSelfMessage(), Flow::infoDestination(), MultiQoSTable::MultiQoSTable::lookup(), IMultiQoSTable::IMultiQoSTable::lookup(), FA::receiveCreateFlowRequestFromRibd(), FAI::receiveCreateResponsePositive(), RMT::relayPDUToEFCPI(), RIBd::sendCongestionNotification(), and RMT::tracePDUEvent().
std::string ConnectionId::getQoSId | ( | ) | const |
Getter of selected QoS-cube identifier.
Definition at line 44 of file ConnectionId.cc.
Referenced by RA::bindNFlowToNM1Flow(), IDPerNFlow::constructQueueID(), EFCP::createEFCPI(), RA::createNM1Flow(), RA::createNM1FlowWithoutAllocate(), CongestionDescriptor::dup(), AESender::finish(), AESInt::finish(), IDPerNQoSxPLen::generateInputQueueID(), IDPerNQoS::generateOutputQueueID(), IDPerNQoSxPLen::generateOutputQueueID(), IDPerNCU::generateOutputQueueID(), AEConstantClient::handleMessage(), AEConstantServer::handleMessage(), RMTPort::handleMessage(), AEConstantServer::handleSelfMessage(), Flow::infoQoS(), HierarchicalTable::HierarchicalTable::lookup(), MiniTable::MiniTable::lookup(), MultiMiniTable::MultiMiniTable::lookup(), FloodMiniTable::FloodMiniTable::lookup(), QoSTable::QoSTable::lookup(), SimpleTable::SimpleTable::lookup(), IMultiQoSTable::IMultiQoSTable::lookup(), MultiQoSTable::MultiQoSTable::lookup(), DomainTable::DomainTable::lookup(), InfectionComparator::matchesThisIPC(), RA::postNFlowAllocation(), LisFACreFloPosi::receiveSignal(), LisRACreResPosi::receiveSignal(), LisRADelFlow::receiveSignal(), LisFAICreResPosiNminusOne::receiveSignal(), RMT::relayPDUToPort(), RIBd::sendCongestionNotification(), RMTPort::setFlow(), and RMT::tracePDUEvent().
int ConnectionId::getSrcCepId | ( | ) | const |
Getter of source Connection-Endpoint identifier.
Definition at line 54 of file ConnectionId.cc.
Referenced by IDPerNFlow::constructQueueID(), CongestionDescriptor::dup(), CongestionDescriptor::getCongesDescrName(), Infection::Infection::handleMessage(), Flow::infoSource(), IMultiQoSTable::IMultiQoSTable::lookup(), MultiQoSTable::MultiQoSTable::lookup(), LisEFCPCongestFromRA::receiveSignal(), LisFAICreResPosi::receiveSignal(), LisFAICreResNega::receiveSignal(), RIBd::sendCongestionNotification(), and RMT::tracePDUEvent().
std::string ConnectionId::info | ( | ) | const |
Info text outpu suitable for << strinng streams and WATCH.
Definition at line 109 of file ConnectionId.cc.
Referenced by operator<<(), and RIBd::processMStart().
bool ConnectionId::operator< | ( | const ConnectionId | other | ) | const |
Less operator overload.
other | ConnectionId for comparison |
Definition at line 80 of file ConnectionId.cc.
bool ConnectionId::operator== | ( | const ConnectionId | other | ) | const |
Equal operator overload.
other | ConnectionId for comparison |
Definition at line 94 of file ConnectionId.cc.
void ConnectionId::setDstCepId | ( | int | destCepId | ) |
Setter of destination Connection-Endpoint identifier.
destCepId | A new destination CEP-id value |
Definition at line 39 of file ConnectionId.cc.
Referenced by CongestionDescriptor::CongestionDescriptor(), CongestionDescriptor::dup(), dup(), Infection::Flow::Flow(), MockEFCPI::initialize(), FAI::receiveCreateResponsePositive(), and CongestionDescriptor::~CongestionDescriptor().
void ConnectionId::setQoSId | ( | std::string | qoSId | ) |
Setter of selected QoS-cube identifier.
qoSId | A new QoS-cube id value |
Definition at line 49 of file ConnectionId.cc.
Referenced by CongestionDescriptor::CongestionDescriptor(), CongestionDescriptor::dup(), dup(), Infection::Flow::Flow(), MockEFCPI::initialize(), MinComparer::run(), ScoreComparer::run(), and CongestionDescriptor::~CongestionDescriptor().
void ConnectionId::setSrcCepId | ( | int | srcCepId | ) |
Setter of source Connection-Endpoint identifier.
srcCepId | A new source CEP-id value |
Definition at line 59 of file ConnectionId.cc.
Referenced by CongestionDescriptor::CongestionDescriptor(), CongestionDescriptor::dup(), dup(), Infection::Flow::Flow(), Infection::Flow::getPDU(), MockEFCPI::initialize(), FA::receiveAllocateRequest(), FA::receiveCreateFlowRequestFromRibd(), and CongestionDescriptor::~CongestionDescriptor().
ConnectionId & ConnectionId::swapCepIds | ( | ) |
Exchanges source and destination CEP identifiers.
Definition at line 101 of file ConnectionId.cc.
Referenced by RIBd::processMStart(), and Flow::swapCepIds().
|
protected |
Destination Connection-Endpoint identifier.
Definition at line 140 of file ConnectionId.h.
Referenced by dup(), getDstCepId(), info(), operator<(), operator==(), setDstCepId(), swapCepIds(), and ~ConnectionId().
|
protected |
QoS-cube identifier.
Definition at line 130 of file ConnectionId.h.
Referenced by dup(), getQoSId(), info(), operator<(), operator==(), setQoSId(), and ~ConnectionId().
|
protected |
Source Connection-Endpoint identifier.
Definition at line 135 of file ConnectionId.h.
Referenced by dup(), getSrcCepId(), info(), operator<(), operator==(), setSrcCepId(), swapCepIds(), and ~ConnectionId().