Leosac
0.8.0
Open Source Access Control
|
#include <rplethpacket.hpp>
Public Types | |
enum | Sender { Sender::Client = 0, Sender::Server } |
Public Member Functions | |
RplethPacket (Sender packetSender) | |
RplethPacket (const RplethPacket &other) | |
~RplethPacket ()=default | |
RplethPacket & | operator= (const RplethPacket &other) |
Byte | checksum () const |
Public Attributes | |
Byte | status |
Byte | type |
Byte | command |
Byte | dataLen |
std::vector< Byte > | data |
Byte | sum |
bool | isGood |
Sender | sender |
Definition at line 39 of file rplethpacket.hpp.
|
strong |
Enumerator | |
---|---|
Client | |
Server |
Definition at line 42 of file rplethpacket.hpp.
RplethPacket::RplethPacket | ( | Sender | packetSender | ) |
Definition at line 30 of file rplethpacket.cpp.
RplethPacket::RplethPacket | ( | const RplethPacket & | other | ) |
Definition at line 41 of file rplethpacket.cpp.
|
default |
Byte RplethPacket::checksum | ( | ) | const |
Definition at line 66 of file rplethpacket.cpp.
RplethPacket & RplethPacket::operator= | ( | const RplethPacket & | other | ) |
Definition at line 53 of file rplethpacket.cpp.
Byte Leosac::Module::Rpleth::RplethPacket::command |
Definition at line 63 of file rplethpacket.hpp.
std::vector<Byte> Leosac::Module::Rpleth::RplethPacket::data |
Definition at line 65 of file rplethpacket.hpp.
Byte Leosac::Module::Rpleth::RplethPacket::dataLen |
Definition at line 64 of file rplethpacket.hpp.
bool Leosac::Module::Rpleth::RplethPacket::isGood |
Definition at line 67 of file rplethpacket.hpp.
Sender Leosac::Module::Rpleth::RplethPacket::sender |
Definition at line 68 of file rplethpacket.hpp.
Byte Leosac::Module::Rpleth::RplethPacket::status |
Definition at line 61 of file rplethpacket.hpp.
Byte Leosac::Module::Rpleth::RplethPacket::sum |
Definition at line 66 of file rplethpacket.hpp.
Byte Leosac::Module::Rpleth::RplethPacket::type |
Definition at line 62 of file rplethpacket.hpp.