Switch to side-by-side view

--- a/src/DAF/IRM/IRM.h
+++ b/src/DAF/IRM/IRM.h
@@ -13,24 +13,22 @@
 // along with this program.  If not, see http://www.gnu.org/licenses/.
 // 
 
-#ifndef IRM_H_
-#define IRM_H_
+#ifndef IRM_H_
+#define IRM_H_
 
 //Standard libraries
 #include <omnetpp.h>
 //RINASim libraries
 #include "IRMListeners.h"
+//#include "FA.h"
 #include "Flow.h"
 #include "RINASignals.h"
-
-class IRM : public cSimpleModule   {
-  public:
-    IRM();
+
+class IRM : public cSimpleModule   {
+  public:
+    IRM();
     virtual ~IRM();
 
-    void receiveAllocationRequest(cObject* obj);
-    void receiveDeallocationRequest(cObject* obj);
-    void receiveAllocationResponseNegativeAppNotFound(cObject* obj);
     void receiveAllocationResponseNegative(cObject* obj);
     void receiveAllocationRequestFromFAI(cObject* obj);
 
@@ -40,6 +38,9 @@
 
   private:
     void initSignalsAndListeners();
+
+    void prepareTestMessage(simtime_t tim);
+    void handleTestMessage(cMessage* msg);
 
     //Signals
     simsignal_t sigIRMAllocReq;
@@ -51,15 +52,14 @@
     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);
-
-};
-
-#endif /* IRM_H_ */
+
+
+
+};
+
+#endif /* IRM_H_ */