drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
prototest.mysql.command.Command Class Reference
Inheritance diagram for prototest.mysql.command.Command:
[legend]
Collaboration diagram for prototest.mysql.command.Command:
[legend]

Public Member Functions

 __init__ (self, packed=None, command=CommandID.SLEEP, payload=b'')
 pack (self)
 __str__ (self)

Public Attributes

 command = command
 payload = payload

Detailed Description

This class represents a command packet sent from the client.

Definition at line 76 of file command.py.

Constructor & Destructor Documentation

◆ __init__()

prototest.mysql.command.Command.__init__ ( self,
packed = None,
command = CommandID.SLEEP,
payload = b'' )

Definition at line 79 of file command.py.

Member Function Documentation

◆ __str__()

prototest.mysql.command.Command.__str__ ( self)

Definition at line 90 of file command.py.

◆ pack()

prototest.mysql.command.Command.pack ( self)

Definition at line 87 of file command.py.

Member Data Documentation

◆ command

prototest.mysql.command.Command.command = command

Definition at line 81 of file command.py.

◆ payload

prototest.mysql.command.Command.payload = payload

Definition at line 82 of file command.py.


The documentation for this class was generated from the following file: