|
PcapPlusPlus
Next
|
#include <MySqlLayer.h>
Public Member Functions | |
| MySqlMessageType | getMessageType () const |
| MySqlMessageOrigin | getMessageOrigin () const |
| virtual uint32_t | getMessageLength () const |
| Returns the length of the message payload. More... | |
| uint8_t | getPacketNumber () const |
| Returns the packet number. More... | |
| size_t | getTotalMessageLength () const |
| Returns the total length of the message including the length field. More... | |
| virtual std::vector< uint8_t > | getRawPayload () const |
| Returns the raw payload bytes of the message. More... | |
Static Public Member Functions | |
| static std::unique_ptr< MySqlMessage > | parseMySqlMessage (const uint8_t *data, size_t dataLen, MySqlMessageOrigin origin) |
| Parse a MySQL message from raw data. More... | |
Represents a MySQL message (base class)
|
virtual |
Returns the length of the message payload.
Reimplemented in pcpp::MySqlCommandMessage.
|
inline |
|
inline |
| uint8_t pcpp::MySqlMessage::getPacketNumber | ( | ) | const |
Returns the packet number.
|
virtual |
Returns the raw payload bytes of the message.
Reimplemented in pcpp::MySqlCommandMessage.
|
inline |
Returns the total length of the message including the length field.
|
static |
Parse a MySQL message from raw data.
| [in] | data | A pointer to the raw data |
| [in] | dataLen | Size of the data in bytes |
| [in] | origin | The message origin (client or server) |