26 fai(NULL), flow(NULL),
28 timeCreated(0), timeDeleted(0)
47 std::ostringstream os;
50 os <<
"FAI> " << *(this->
getFai()) << endl;
63 return os << fte.
info();
82 case TRANSFER:
return "allocation positive, transfer";
84 case ALLOC_ERR:
return "allocation error";
89 case FORWARDING:
return "allocation forwarded";
90 case FORWARDED:
return "allocation forwarded";
91 default:
return "UNKNOWN";
114 return this->
fai == other.
fai
Class representing flow object with attributes from specs.
NFlowTableEntry::EAllocateStatus getAllocateStatus() const
long getAllocInvokeId() const
Gets allocation InvokeId Used inside M_CREATE(_R)(flow) messages.
const simtime_t & getTimeDeleted() const
std::string getAllocateStatusString() const
void setFai(FAIBase *nfai)
virtual ~NFlowTableEntry()
const Flow * getCFlow() const
const simtime_t & getTimeCreated() const
std::string infoDestination() const
Prints Flow destination information as string Outputs destination APNI, address, neigbor-address, PortId, CEP-Id.
EAllocateStatus allocStatus
void setTimeDeleted(const simtime_t &timDel)
std::string infoSource() const
Prints Flow source information as string Outputs source APNI, address, neigbor-address, PortId, CEP-Id.
void setAllocateStatus(NFlowTableEntry::EAllocateStatus allocateStatus)
bool operator==(const NFlowTableEntry &other) const
std::string infoOther() const
Prints Flow create flow information and hop-cpunt as string.
std::string infoQoS() const
Prints RA's QoSCube-id that FA choosed during Flow allocation phase Accompanied QoSParameters could b...
std::ostream & operator<<(std::ostream &os, const NFlowTableEntry &fte)
long getDeallocInvokeId() const
Gets deallocation InvokeId Used inside M_DELETE(_R)(flow) messages.