RINASim  October 2016
Documentation of framework for OMNeT++
AEMgmt.h
Go to the documentation of this file.
1 //
2 // The MIT License (MIT)
3 //
4 // Copyright (c) 2014-2016 Brno University of Technology, PRISTINE project
5 //
6 // Permission is hereby granted, free of charge, to any person obtaining a copy
7 // of this software and associated documentation files (the "Software"), to deal
8 // in the Software without restriction, including without limitation the rights
9 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 // copies of the Software, and to permit persons to whom the Software is
11 // furnished to do so, subject to the following conditions:
12 //
13 // The above copyright notice and this permission notice shall be included in
14 // all copies or substantial portions of the Software.
15 //
16 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22 // THE SOFTWARE.
31 #ifndef AEMGMT_H_
32 #define AEMGMT_H_
33 
34 //Standard libraries
35 #include <omnetpp.h>
36 //RINASim libraries
37 #include "AEMgmtBase.h"
38 #include "ExternConsts.h"
39 #include "AEMgmtListeners.h"
41 #include "FANotifier.h"
42 #include "CDAPProcessingBase.h"
43 #include "RINASignals.h"
44 #include "PDU.h"
45 #include "IntRoutingUpdate.h"
46 
47 //Constants
48 //extern const char* DAF_MSG_ENROLLMENT;
49 
50 class AEMgmt : public AEMgmtBase {
51  public:
52  virtual void signalizeSendData(CDAPMessage* msg);
53  virtual void receiveData(CDAPMessage* cimsg);
54 
55  protected:
58 
61 
62  virtual void initialize();
63  virtual void initPointers();
64  virtual void handleMessage(cMessage *msg);
65 
67 
68  //Signals
69  simsignal_t sigRIBDSendData;
70 
71 
72  /* Emit update received signal. */
73 
74  //Listeners
76 };
77 
78 #endif /* AEMGMT_H_ */
LisAEMgmtRcvData * lisAEMgmtRcvData
Definition: AEMgmt.h:75
FANotifierBase * FANotif
Definition: AEMgmt.h:56
simsignal_t sigRIBDSendData
Definition: AEMgmt.h:69
virtual void handleMessage(cMessage *msg)
Definition: AEMgmt.cc:48
virtual void initialize()
Definition: AEMgmt.cc:38
bool useEnrollmentNotifier
Definition: AEMgmt.h:60
virtual void signalizeSendData(CDAPMessage *msg)
Definition: AEMgmt.cc:89
Definition: AEMgmt.h:50
virtual void receiveData(CDAPMessage *cimsg)
Definition: AEMgmt.cc:66
virtual void initPointers()
Definition: AEMgmt.cc:52
void initSignalsAndListeners()
Definition: AEMgmt.cc:78
DAFEnrollmentNotifierBase * DAFEnrollNotif
Definition: AEMgmt.h:57
bool useFANotifier
Definition: AEMgmt.h:59