RniService.h Source File

Simu5G: RniService.h Source File
Simu5G
RniService.h
1//
2// Simu5G
3//
4// Copyright (C) 2019-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 _RNISERVICE_H
14#define _RNISERVICE_H
15
16#include "simu5g/mec/platform/services/base/MecServiceBase2.h"
17#include "simu5g/mec/platform/services/RniService/resources/L2Meas.h"
18
19namespace simu5g {
20
27
28class RniService : public MecServiceBase2
29{
30 private:
31
32 L2Meas L2MeasResource_;
33
34 public:
35 RniService();
36
37 protected:
38
39 void initialize(int stage) override;
40
41 void handleGETRequest(const HttpRequestMessage *currentRequestMessageServed, inet::TcpSocket *socket) override;
42 void handlePOSTRequest(const HttpRequestMessage *currentRequestMessageServed, inet::TcpSocket *socket) override;
43 void handlePUTRequest(const HttpRequestMessage *currentRequestMessageServed, inet::TcpSocket *socket) override;
44 void handleDELETERequest(const HttpRequestMessage *currentRequestMessageServed, inet::TcpSocket *socket) override;
45
46
47};
48
49} //namespace
50
51#endif // ifndef _RNISERVICE_H
Definition HttpRequestMessage.h:41
Definition AlertReceiver.h:24