X2AppServer.h Source File¶ Simu5G: X2AppServer.h Source File Simu5G releasesrcsimu5gx2 X2AppServer.h 1// 2// Simu5G 3// 4// Copyright (C) 2012-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa) 5// Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa) 6// 7// This file is part of a software released under the license included in file 8// "license.pdf". Please read LICENSE and README files before using it. 9// The above files and the present reference are part of the software itself, 10// and cannot be removed from it. 11// 12 13#ifndef __X2APPSERVER_H_ 14#define __X2APPSERVER_H_ 15 16#include <inet/applications/sctpapp/SctpServer.h> 17#include "simu5g/common/LteCommon.h" 18#include "simu5g/common/binder/Binder.h" 19 20namespace simu5g { 21 22using namespace omnetpp; 23 27class X2AppServer : public inet::SctpServer 28{ 29 // reference to the gate 30 cGate *x2ManagerIn_ = nullptr; 31 32 protected: 33 void initialize(int stage) override; 34 void handleMessage(cMessage *msg) override; 35 void handleTimer(cMessage *msg); 36 void generateAndSend(inet::Packet *pkt); 37}; 38 39} //namespace 40 41#endif 42 simu5g::X2AppServerDefinition X2AppServer.h:28 simu5gDefinition AlertReceiver.h:24 Generated by 1.14.0