RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <NFlowTableEntry.h>
Public Types | |
enum | EAllocateStatus { UNKNOWN, ALLOC_PEND, ALLOC_NEGA, ALLOC_ERR, TRANSFER, FORWARDING, FORWARDED, DEALLOC_PEND, DEALLOCATED, DEINST_PEND, DEINSTANTIATED } |
Public Member Functions | |
NFlowTableEntry () | |
NFlowTableEntry (Flow *nflow) | |
virtual | ~NFlowTableEntry () |
bool | operator== (const NFlowTableEntry &other) const |
std::string | info () const |
std::string | getAllocateStatusString () const |
FAIBase * | getFai () const |
const simtime_t & | getTimeCreated () const |
const simtime_t & | getTimeDeleted () const |
void | setTimeDeleted (const simtime_t &timDel) |
void | setAllocateStatus (NFlowTableEntry::EAllocateStatus allocateStatus) |
NFlowTableEntry::EAllocateStatus | getAllocateStatus () const |
void | setFai (FAIBase *nfai) |
const Flow * | getCFlow () const |
Flow * | getFlow () |
Private Attributes | |
FAIBase * | fai |
Flow * | flow |
EAllocateStatus | allocStatus |
simtime_t | timeCreated |
simtime_t | timeDeleted |
Definition at line 32 of file NFlowTableEntry.h.
Enumerator | |
---|---|
UNKNOWN | |
ALLOC_PEND | |
ALLOC_NEGA | |
ALLOC_ERR | |
TRANSFER | |
FORWARDING | |
FORWARDED | |
DEALLOC_PEND | |
DEALLOCATED | |
DEINST_PEND | |
DEINSTANTIATED |
Definition at line 34 of file NFlowTableEntry.h.
NFlowTableEntry::NFlowTableEntry | ( | ) |
Definition at line 25 of file NFlowTableEntry.cc.
NFlowTableEntry::NFlowTableEntry | ( | Flow * | nflow | ) |
Definition at line 32 of file NFlowTableEntry.cc.
|
virtual |
Definition at line 38 of file NFlowTableEntry.cc.
NFlowTableEntry::EAllocateStatus NFlowTableEntry::getAllocateStatus | ( | ) | const |
Definition at line 120 of file NFlowTableEntry.cc.
Referenced by NFlowTable::findEntriesAffectedByMgmt(), NFlowTable::findEntriesByDstNeighborAndFwd(), NFlowTable::findEntryByApns(), NFlowTable::findEntryByDstAddressAndFwd(), NFlowTable::findEntryBySrcAddressAndFwd(), FAI::receiveAllocateRequest(), FAI::receiveAllocateResponseNegative(), FAI::receiveAllocateResponsePositive(), FAI::receiveCreateRequest(), FAI::receiveDeallocateRequest(), FA::receiveDeallocateRequest(), FAI::receiveDeleteRequest(), and FAI::receiveDeleteResponse().
std::string NFlowTableEntry::getAllocateStatusString | ( | ) | const |
Definition at line 78 of file NFlowTableEntry.cc.
Referenced by info().
const Flow * NFlowTableEntry::getCFlow | ( | ) | const |
Definition at line 109 of file NFlowTableEntry.cc.
Referenced by NFlowTable::findEntriesAffectedByMgmt(), NFlowTable::findEntriesByDstNeighborAndFwd(), NFlowTable::findEntryByApns(), NFlowTable::findEntryByDstAddressAndFwd(), NFlowTable::findEntryByFlow(), NFlowTable::findEntryByInvokeId(), NFlowTable::findEntryBySrcAddressAndFwd(), NFlowTable::findMgmtEntry(), NFlowTable::findMgmtEntryByDstAddr(), NFlowTable::findMgmtEntryByDstApni(), NFlowTable::findMgmtEntryByDstNeighbor(), and info().
FAIBase * NFlowTableEntry::getFai | ( | ) | const |
Definition at line 66 of file NFlowTableEntry.cc.
Referenced by NFlowTable::findEntryByFai(), FA::handleMessage(), info(), and FA::receiveDeallocateRequest().
Flow * NFlowTableEntry::getFlow | ( | ) |
Definition at line 124 of file NFlowTableEntry.cc.
const simtime_t & NFlowTableEntry::getTimeCreated | ( | ) | const |
Definition at line 70 of file NFlowTableEntry.cc.
Referenced by info().
const simtime_t & NFlowTableEntry::getTimeDeleted | ( | ) | const |
Definition at line 74 of file NFlowTableEntry.cc.
Referenced by info().
std::string NFlowTableEntry::info | ( | ) | const |
Definition at line 46 of file NFlowTableEntry.cc.
Referenced by operator<<().
bool NFlowTableEntry::operator== | ( | const NFlowTableEntry & | other | ) | const |
Definition at line 113 of file NFlowTableEntry.cc.
void NFlowTableEntry::setAllocateStatus | ( | NFlowTableEntry::EAllocateStatus | allocateStatus | ) |
Definition at line 97 of file NFlowTableEntry.cc.
Referenced by NFlowTable::changeAllocStatus().
void NFlowTableEntry::setFai | ( | FAIBase * | nfai | ) |
Definition at line 105 of file NFlowTableEntry.cc.
Referenced by NFlowTable::setFaiToFlow().
void NFlowTableEntry::setTimeDeleted | ( | const simtime_t & | timDel | ) |
Definition at line 101 of file NFlowTableEntry.cc.
Referenced by FAI::receiveDeleteRequest(), and FAI::receiveDeleteResponse().
|
private |
Definition at line 63 of file NFlowTableEntry.h.
Referenced by getAllocateStatus(), getAllocateStatusString(), operator==(), setAllocateStatus(), and ~NFlowTableEntry().
|
private |
Definition at line 61 of file NFlowTableEntry.h.
Referenced by getFai(), operator==(), setFai(), and ~NFlowTableEntry().
|
private |
Definition at line 62 of file NFlowTableEntry.h.
Referenced by getCFlow(), getFlow(), NFlowTableEntry(), operator==(), and ~NFlowTableEntry().
|
private |
Definition at line 64 of file NFlowTableEntry.h.
Referenced by getTimeCreated(), NFlowTableEntry(), operator==(), and ~NFlowTableEntry().
|
private |
Definition at line 65 of file NFlowTableEntry.h.
Referenced by getTimeDeleted(), NFlowTableEntry(), setTimeDeleted(), and ~NFlowTableEntry().