--- a/src/DIF/FA/FAITable.h
+++ b/src/DIF/FA/FAITable.h
@@ -25,6 +25,9 @@
typedef TFAITable::iterator TFTIter;
typedef TFAITable::const_iterator TFTConstIter;
+//Statistic collextion
+extern const char* SIG_STAT_FT_SIZE;
+
class FAITable : public cSimpleModule
{
public:
@@ -38,13 +41,19 @@
FAITableEntry* findEntryByDstNeighborAndFwd(const APN& apname);
FAITableEntry* findEntryBySrcAddressAndFwd(const APN& apname);
FAITableEntry* findEntryByFai(FAIBase* fai);
+ FAITableEntry* findEntryByInvokeId(long invId);
void setFaiToFlow(FAIBase* fai, Flow* flow);
- void changeAllocStatus(Flow* flow, FAITableEntry::AllocateStatus status);
- void changeAllocStatus(FAIBase* fai, FAITableEntry::AllocateStatus status);
+ void changeAllocStatus(Flow* flow, FAITableEntry::EAllocateStatus status);
+ void changeAllocStatus(FAIBase* fai, FAITableEntry::EAllocateStatus status);
+
+ void updateDisplayString();
protected:
virtual void initialize();
+ void initSignalsAndListeners();
virtual void handleMessage(cMessage *msg);
+
+ simsignal_t sigStatFTSize;
private:
TFAITable FaiTable;