GtpUserMsgSerializer.h Source File

Simu5G: GtpUserMsgSerializer.h Source File
Simu5G
GtpUserMsgSerializer.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 __INET_GTPUSERMSGSERIALIZER_H
14#define __INET_GTPUSERMSGSERIALIZER_H
15
16#include <inet/common/packet/serializer/FieldsChunkSerializer.h>
17
18namespace simu5g {
19
23class GtpUserMsgSerializer : public inet::FieldsChunkSerializer
24{
25 protected:
26 void serialize(inet::MemoryOutputStream& stream, const inet::Ptr<const inet::Chunk>& chunk) const override;
27 const inet::Ptr<inet::Chunk> deserialize(inet::MemoryInputStream& stream) const override;
28};
29
30} //namespace
31
32#endif // ifndef __INET_GTPUSERMSGSERIALIZER_H
33
Definition GtpUserMsgSerializer.h:24
Definition AlertReceiver.h:24