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

#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
 
FAIBasegetFai () 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 FlowgetCFlow () const
 
FlowgetFlow ()
 

Private Attributes

FAIBasefai
 
Flowflow
 
EAllocateStatus allocStatus
 
simtime_t timeCreated
 
simtime_t timeDeleted
 

Detailed Description

Definition at line 32 of file NFlowTableEntry.h.

Member Enumeration Documentation

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.

Constructor & Destructor Documentation

NFlowTableEntry::NFlowTableEntry ( )

Definition at line 25 of file NFlowTableEntry.cc.

NFlowTableEntry::NFlowTableEntry ( Flow nflow)

Definition at line 32 of file NFlowTableEntry.cc.

NFlowTableEntry::~NFlowTableEntry ( )
virtual

Definition at line 38 of file NFlowTableEntry.cc.

Member Function Documentation

std::string NFlowTableEntry::getAllocateStatusString ( ) const

Definition at line 78 of file NFlowTableEntry.cc.

Referenced by info().

FAIBase * NFlowTableEntry::getFai ( ) const
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().

Member Data Documentation

EAllocateStatus NFlowTableEntry::allocStatus
private
FAIBase* NFlowTableEntry::fai
private

Definition at line 61 of file NFlowTableEntry.h.

Referenced by getFai(), operator==(), setFai(), and ~NFlowTableEntry().

Flow* NFlowTableEntry::flow
private

Definition at line 62 of file NFlowTableEntry.h.

Referenced by getCFlow(), getFlow(), NFlowTableEntry(), operator==(), and ~NFlowTableEntry().

simtime_t NFlowTableEntry::timeCreated
private

Definition at line 64 of file NFlowTableEntry.h.

Referenced by getTimeCreated(), NFlowTableEntry(), operator==(), and ~NFlowTableEntry().

simtime_t NFlowTableEntry::timeDeleted
private

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