paqueteCnC
Loading...
Searching...
No Matches
packet_extended_large_data_5.h
Go to the documentation of this file.
1
11#ifndef PACKET_EXTENDED_LARGE_DATA_5_H
12#define PACKET_EXTENDED_LARGE_DATA_5_H
13
14#include <vector>
15
16#include "../packet.h"
18
20public:
21 // Note: sequence nubmer is not the same field as the main header's
22 // sequence control field. This one is relative to the large data unit,
23 // so it starts from 1 for this large data transfer.
24 PacketExtendedLargeData5(const Packet& packet, uint8_t largeDataUnitId,
25 uint16_t sequenceNumber);
26
27 /****** Methods from composited classes ******/
28
38
46
53 uint8_t getLargeDataUnitId();
54
55 /****** Methods from this class ******/
56
57 uint16_t getSequenceNumber();
58 void setSequenceNumber(const uint16_t newSequenceNumber);
59private:
60 PacketExtendedBasic packetBasic_;
61 uint8_t largeDataUnitId_;
62 uint16_t sequenceNumber_;
63};
64
65#endif
Definition: packet_extended_basic.h:13
Definition: packet_extended_large_data_5.h:19
Packet & getPacket()
Calls the packet extended basic implementation of this method.
Definition: packet_extended_large_data_5.cpp:11
uint8_t getLargeDataUnitId()
Calls the packet extended large data implementation of this method.
Definition: packet_extended_large_data_5.cpp:24
PacketExtendedLargeData5 swapApplicationIdFields()
Calls the packet extended basic implementation of this method.
Definition: packet_extended_large_data_5.cpp:15
Definition: packet.h:26
Higher level packet for the services.