26 EV <<
"AllocateRequest initiated by " << src->getFullPath()
27 <<
" and processed by " <<
fa->getFullPath() << endl;
28 Flow* flow =
dynamic_cast<Flow*
>(obj);
33 EV <<
"FAListener received not a flow object!" << endl;
37 cObject* obj, cObject *detail) {
38 EV <<
"DeallocateRequest initiated by " << src->getFullPath()
39 <<
" and processed by " <<
fa->getFullPath() << endl;
40 Flow* flow =
dynamic_cast<Flow*
>(obj);
45 EV <<
"FAListener received not a flow object!" << endl;
55 EV <<
"CreateRequest initiated by " << src->getFullPath() <<
" and processed by " <<
fa->getFullPath() << endl;
56 Flow* flow =
dynamic_cast<Flow*
>(obj);
60 EV <<
"Received not a flow object!" << endl;
66 cObject* obj, cObject *detail) {
67 EV <<
"NM1FlowCreated initiated by " << src->getFullPath() <<
" and processed by " <<
fa->getFullPath() << endl;
68 Flow* flow =
dynamic_cast<Flow*
>(obj);
75 for (
TFTPtrsIter it = entries.begin(); it != entries.end(); ++it) {
80 if (!flow) { EV <<
"Received not a flow object!" << endl; }
82 else { EV <<
"Flow not intended for my FA!" << endl; }
87 cObject* obj, cObject *detail) {
88 EV <<
"AllocFinMgmt initiated by " << src->getFullPath() <<
" and processed by " <<
fa->getFullPath() << endl;
116 for (
TFTPtrsIter it = entries.begin(); it != entries.end(); ++it) {
123 EV <<
"FA received unknown object!" << endl;
Class representing flow object with attributes from specs.
TFAIPtrs findEntriesByDstNeighborAndFwd(const APN &apname)
const APNamingInfo & getSrcApni() const
Gets read-only source APNamingInfo.
virtual bool receiveAllocateRequest(Flow *flow)=0
std::string getQoSId() const
Getter of selected QoS-cube identifier.
const std::string VAL_MGMTQOSID
const APN & getApn() const
Getter of APN.
virtual void receiveSignal(cComponent *src, simsignal_t id, cObject *obj, cObject *detail)
TFAIPtrs findEntriesAffectedByMgmt(const APNIPair *apnip)
virtual bool receiveMgmtAllocateFinish()=0
TFAIPtrs::iterator TFTPtrsIter
virtual bool receiveCreateFlowRequestFromRibd(Flow *flow)=0
virtual void receiveSignal(cComponent *src, simsignal_t id, cObject *obj, cObject *detail)
std::list< NFlowTableEntry * > TFAIPtrs
const Address & getMyAddress() const
NFlowTable * getNFlowTable() const
virtual bool receiveDeallocateRequest(Flow *flow)=0
const ConnectionId & getConId() const
Gets read-only Flow's ConnectionId.
std::list< Flow * > PendingFlows
virtual void receiveSignal(cComponent *src, simsignal_t id, cObject *obj, cObject *detail)
const APN & getApn() const
Getter of unique APN which is initialized during object construction.
virtual void receiveSignal(cComponent *src, simsignal_t id, cObject *obj, cObject *detail)
virtual void receiveSignal(cComponent *src, simsignal_t id, cObject *obj, cObject *detail)
bool isManagementFlowLocalToIPCP() const
virtual void receiveNM1FlowCreated(Flow *flow)=0
const APNamingInfo & getDstApni() const
Gets read-only destination APNamingInfo.