--- a/src/DAF/IRM/IRM.h
+++ b/src/DAF/IRM/IRM.h
@@ -32,11 +32,15 @@
IRM();
virtual ~IRM();
- void receiveAllocationRequest(cObject* obj);
- void receiveDeallocationRequest(cObject* obj);
- void receiveAllocationResponseNegativeAppNotFound(cObject* obj);
- void receiveAllocationResponseNegative(cObject* obj);
- void receiveAllocationRequestFromFAI(cObject* obj);
+ bool receiveAllocationRequestFromAe(Flow* flow);
+ bool receiveDeallocationRequestFromAe(Flow* flow);
+
+ bool receiveAllocationResponsePositiveFromIpc(Flow* flow);
+
+ void newFlow(Flow* flow);
+
+ ConnectionTable* getConTable() const;
+ bool deleteBindings(Flow* flow);
protected:
virtual void initialize();
@@ -51,24 +55,18 @@
void initSignalsAndListeners();
bool createBindings(Flow* flow);
+
//Signals
simsignal_t sigIRMAllocReq;
simsignal_t sigIRMDeallocReq;
- simsignal_t sigIRMAllocResPosi;
- simsignal_t sigIRMAllocResNega;
//Listeners
- LisIRMAllocResNegaFa* lisAllocResNegaFa;
- LisIRMAllocResNegaFai* lisAllocResNegaFai;
- LisIRMAllocReqFai* lisAllocReqFai;
LisIRMAllocReq* lisAllocReq;
LisIRMDeallocReq* lisDeallocReq;
//Signaling
void signalizeAllocateRequest(Flow* flow);
void signalizeDeallocateRequest(Flow* flow);
- void signalizeAllocateResponsePositive(Flow* flow);
- void signalizeAllocateResponseNegative(Flow* flow);
};