paqueteCnC
Loading...
Searching...
No Matches
packet_extended_verification_1.h
1
22#ifndef PACKET_EXTENDED_VERIFICATION_1_H
23#define PACKET_EXTENDED_VERIFICATION_1_H
24
25#include <vector>
26
27#include "../packet.h"
29
31public:
33 PacketExtendedVerification1(const Packet& packet, uint8_t errorCode,
34 const std::vector<uint8_t>& parameters);
35
36 /****** Methods from composited classes ******/
37
47
55
56 /****** Methods from this class ******/
57
58 // verification acceptance failure includes an error code
59 Packet::Bool8Enum hasErrorCode();
60 int getErrorCode();
61
62 // verification acceptance failure includes parameters
63 std::vector<uint8_t> getParameters();
64private:
65 PacketExtendedBasic packetBasic_;
66 uint8_t errorCode_;
67 Packet::Bool8Enum hasErrorCode_; // if it has error code then this is a failure packet
68 std::vector<uint8_t> parameters_;
69};
70
71#endif
Definition: packet_extended_basic.h:13
Definition: packet_extended_verification_1.h:30
PacketExtendedVerification1 swapApplicationIdFields()
Calls the packet extended basic implementation of this method.
Definition: packet_extended_verification_1.cpp:22
Packet & getPacket()
Calls the packet extended basic implementation of this method.
Definition: packet_extended_verification_1.cpp:18
Definition: packet.h:26
Higher level packet for the services.