VoipPacketSerializer.h Source File¶ Simu5G: VoipPacketSerializer.h Source File Simu5G releasesrcsimu5gappsvoip VoipPacketSerializer.h 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 16#ifndef __INET_VOIPPACKETSERIALIZER_H 17#define __INET_VOIPPACKETSERIALIZER_H 18 19#include <inet/common/packet/serializer/FieldsChunkSerializer.h> 20 21namespace simu5g { 22 30class VoipPacketSerializer : public inet::FieldsChunkSerializer 31{ 32 protected: 33 void serialize(inet::MemoryOutputStream& stream, const inet::Ptr<const inet::Chunk>& chunk) const override; 34 const inet::Ptr<inet::Chunk> deserialize(inet::MemoryInputStream& stream) const override; 35}; 36 37} //namespace 38 39#endif // ifndef __INET_VOIPPACKETSERIALIZER_H 40 simu5g::VoipPacketSerializerDefinition VoipPacketSerializer.h:31 simu5gDefinition AlertReceiver.h:24 Generated by 1.14.0