39 std::ostringstream os;
40 os <<
"id=" << this->getId() << endl;
92 list.push_back(&(*it));
98 if (!invId)
return NULL;
144 Enter_Method(
"insertFlow()");
149 Enter_Method(
"removeFlow()");
179 EV <<
"findByFlow() returned NULL" << endl;
187 EV <<
"findByFai() returned NULL" << endl;
197 std::ostringstream os;
198 os <<
"records: " <<
getSize();
246 list.push_back(&(*it));
void initSignalsAndListeners()
NFlowTableEntry * findMgmtEntryByDstApni(const APN &dstApn)
NFlowTableEntry * findEntryByDstAddressAndFwd(const APN &apname)
Class representing flow object with attributes from specs.
TFAIPtrs findEntriesByDstNeighborAndFwd(const APN &apname)
unsigned const int getSize() const
const APNamingInfo & getSrcApni() const
Gets read-only source APNamingInfo.
NFlowTableEntry::EAllocateStatus getAllocateStatus() const
Application Process Name class.
void removeByFlow(Flow *flow)
const APN & getIpcAddress() const
Getter of IPC Process address which should be unambiguous within DIF.
void insertNew(Flow *flow)
long getAllocInvokeId() const
Gets allocation InvokeId Used inside M_CREATE(_R)(flow) messages.
void insert(const NFlowTableEntry &entry)
void changeAllocStatus(Flow *flow, NFlowTableEntry::EAllocateStatus status)
virtual void handleMessage(cMessage *msg)
void setFai(FAIBase *nfai)
const APN & getApn() const
Getter of APN.
NFlowTableEntry * findEntryByInvokeId(long invId)
const Flow * getCFlow() const
Define_Module(NFlowTable)
const Address & getSrcAddr() const
Gets source Address, which is the address of communication start-point.
TFAIPtrs findEntriesAffectedByMgmt(const APNIPair *apnip)
const Address & getDstNeighbor() const
Gets neighbor destination Address, which is the address of (interim) hop-by-hop destination Used duri...
std::list< NFlowTableEntry * > TFAIPtrs
virtual void initialize()
NFlowTableEntry * findMgmtEntry(const Flow *flow)
void setAllocateStatus(NFlowTableEntry::EAllocateStatus allocateStatus)
const char * SIG_STAT_FT_SIZE
void setPolicyDisplayString(cModule *mod, const char *str)
void setFaiToFlow(FAIBase *fai, Flow *flow)
NFlowTableEntry * findEntryByApns(const APN &srcApn, const APN &dstApn)
NFlowTableEntry * findMgmtEntryByDstNeighbor(const Address &addr)
simsignal_t sigStatFTSize
const APN & getApn() const
Getter of unique APN which is initialized during object construction.
NFlowTableEntry * findEntryBySrcAddressAndFwd(const APN &apname)
void updateDisplayString()
const Address & getDstAddr() const
Gets source Address, which is the address of communication end-point.
bool isManagementFlowLocalToIPCP() const
TFAITable::iterator TFTIter
Address class holds IPC Process identification.
const APNamingInfo & getDstApni() const
Gets read-only destination APNamingInfo.
NFlowTableEntry * findEntryByFlow(const Flow *flow)
NFlowTableEntry * findMgmtEntryByDstAddr(const Address &addr)
NFlowTableEntry * findEntryByFai(FAIBase *fai)