RINASim  October 2016
Documentation of framework for OMNeT++
RoutingNotifier.h
Go to the documentation of this file.
1 //
2 // This program is free software: you can redistribute it and/or modify
3 // it under the terms of the GNU Lesser General Public License as published by
4 // the Free Software Foundation, either version 3 of the License, or
5 // (at your option) any later version.
6 //
7 // This program is distributed in the hope that it will be useful,
8 // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 // GNU Lesser General Public License for more details.
11 //
12 // You should have received a copy of the GNU Lesser General Public License
13 // along with this program. If not, see http://www.gnu.org/licenses/.
14 //
15 
16 #ifndef __RINA_ROUTINGNOTIFIER_H_
17 #define __RINA_ROUTINGNOTIFIER_H_
18 
19 //Standard libraries
20 #include <omnetpp.h>
21 //RINASim libraries
22 #include "RoutingNotifierBase.h"
24 #include "RIBdBase.h"
25 
26 extern const char* MSG_ROUTINGUPDATE;
27 
29 {
30  public:
32 
33  protected:
36 
38 
39  void initPointers();
41 
42  //SimpleModule overloads
43  virtual void initialize();
44  virtual void handleMessage(cMessage *msg);
45 
46  //CDAPProcessingBase overload
47  virtual void signalizeMessage(CDAPMessage* msg);;
48 
49  virtual void processMWrite(CDAP_M_Write* msg);
50 };
51 
52 #endif
virtual void signalizeMessage(CDAPMessage *msg)
Function asks for notifies about CDAP message ready to be sent.
simsignal_t sigRIBDRoutingUpdateRecv
virtual void receiveRoutingUpdateFromRouting(IntRoutingUpdate *update)
virtual void initialize()
const char * MSG_ROUTINGUPDATE
LisRIBDRoutingUpdate * lisRIBDRoutingUpdate
void initSignalsAndListeners()
virtual void handleMessage(cMessage *msg)
virtual void processMWrite(CDAP_M_Write *msg)
Function crunching supported M_WRITE message.