37 static ns3::TypeId GetTypeId();
38 ns3::TypeId GetInstanceTypeId()
const override;
40 void Print(std::ostream &os)
const override;
41 uint32_t GetSerializedSize()
const override;
42 void Serialize(ns3::Buffer::Iterator start)
const override;
43 uint32_t Deserialize(ns3::Buffer::Iterator start)
override;
45 void setPayload(
const std::string &payload);
46 std::string getPayload()
const;
48 void setIp(
const std::string &ip);
49 std::string getIp()
const;
51 void setPort(uint16_t port);
52 uint16_t getPort()
const;