RINASim  October 2016
Documentation of framework for OMNeT++
DAFEnrollmentBase.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 
24 #ifndef DAFENROLLMENTBASE_H_
25 #define DAFENROLLMENTBASE_H_
26 
27 #include <omnetpp.h>
28 #include "RINASignals.h"
29 #include "Flow.h"
30 #include "CDAPMessage_m.h"
32 #include "QoSReq.h"
33 
34 class DAFEnrollmentBase : public cSimpleModule {
35 public:
37  virtual ~DAFEnrollmentBase();
38  //virtual void startCACE(APNIPair* apnip) = 0;
39  virtual void startEnrollment(DAFEnrollmentStateTableEntry* entry) = 0;
40  //virtual void insertStateTableEntry(Flow* flow) = 0;
41  //virtual void receivePositiveConnectResponse(CDAPMessage* msg) = 0;
42  //virtual void receiveNegativeConnectResponse(CDAPMessage* msg) = 0;
43  //virtual void receiveConnectRequest(CDAPMessage* msg) = 0;
44 
45  virtual void receiveStartEnrollmentRequest(CDAPMessage* msg) = 0;
46  virtual void receiveStartEnrollmentResponse(CDAPMessage* msg) = 0;
47  virtual void receiveStopEnrollmentRequest(CDAPMessage* msg) = 0;
48  virtual void receiveStopEnrollmentResponse(CDAPMessage* msg) = 0;
49  virtual void receiveStartOperationRequest(CDAPMessage* msg) = 0;
50  virtual void receiveStartOperationResponse(CDAPMessage* msg) = 0;
51 
52 protected:
53  virtual void initialize() = 0;
54 
55  virtual void parseConfig(cXMLElement* config) = 0;
56 
57  //virtual void authenticate(DAFEnrollmentStateTableEntry* entry, CDAP_M_Connect* msg) = 0;
58 };
59 
60 #endif /* DAFENROLLMENTBASE_H_ */
virtual ~DAFEnrollmentBase()
virtual void parseConfig(cXMLElement *config)=0
virtual void startEnrollment(DAFEnrollmentStateTableEntry *entry)=0
virtual void receiveStartEnrollmentRequest(CDAPMessage *msg)=0
virtual void receiveStartOperationResponse(CDAPMessage *msg)=0
virtual void receiveStartEnrollmentResponse(CDAPMessage *msg)=0
virtual void initialize()=0
DAFEnrollment state table entry .
virtual void receiveStartOperationRequest(CDAPMessage *msg)=0
virtual void receiveStopEnrollmentResponse(CDAPMessage *msg)=0
virtual void receiveStopEnrollmentRequest(CDAPMessage *msg)=0