PcapPlusPlus  Next
pcpp::MySqlQueryMessage Class Reference

#include <MySqlLayer.h>

Inheritance diagram for pcpp::MySqlQueryMessage:
pcpp::MySqlCommandMessage pcpp::MySqlMessage

Public Member Functions

std::string getQuery () const
 
- Public Member Functions inherited from pcpp::MySqlCommandMessage
uint32_t getMessageLength () const override
 Returns the length of the message payload. More...
 
std::vector< uint8_t > getRawPayload () const override
 Returns the raw payload bytes of the message. More...
 
- Public Member Functions inherited from pcpp::MySqlMessage
MySqlMessageType getMessageType () const
 
MySqlMessageOrigin getMessageOrigin () const
 
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...
 

Additional Inherited Members

- Static Public Member Functions inherited from pcpp::MySqlMessage
static std::unique_ptr< MySqlMessageparseMySqlMessage (const uint8_t *data, size_t dataLen, MySqlMessageOrigin origin)
 Parse a MySQL message from raw data. More...
 

Detailed Description

Represents a MySQL query command message

Member Function Documentation

◆ getQuery()

std::string pcpp::MySqlQueryMessage::getQuery ( ) const
Returns
The SQL query string