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

Public Member Functions

 __init__ (self, packed=None, capabilities=0, max_packet_size=0, charset=0, unused=tuple([0] *23), user=b'', scramble_size=0, scramble=None, db=b'')
 pack (self)
 __str__ (self)

Public Attributes

 capabilities = Capabilities(capabilities)
 max_packet_size = max_packet_size
 charset = charset
 unused = unused
 user = user
int scramble_size = scramble_size
 scramble = scramble
 db = db

Detailed Description

This class represents the client handshake sent back to the server.

Definition at line 221 of file handshake.py.

Constructor & Destructor Documentation

◆ __init__()

prototest.mysql.handshake.ClientHandshake.__init__ ( self,
packed = None,
capabilities = 0,
max_packet_size = 0,
charset = 0,
unused = tuple([0] * 23),
user = b'',
scramble_size = 0,
scramble = None,
db = b'' )

Definition at line 224 of file handshake.py.

Member Function Documentation

◆ __str__()

prototest.mysql.handshake.ClientHandshake.__str__ ( self)

Definition at line 269 of file handshake.py.

◆ pack()

prototest.mysql.handshake.ClientHandshake.pack ( self)

Definition at line 256 of file handshake.py.

Member Data Documentation

◆ capabilities

prototest.mysql.handshake.ClientHandshake.capabilities = Capabilities(capabilities)

Definition at line 228 of file handshake.py.

◆ charset

prototest.mysql.handshake.ClientHandshake.charset = charset

Definition at line 230 of file handshake.py.

◆ db

prototest.mysql.handshake.ClientHandshake.db = db

Definition at line 235 of file handshake.py.

◆ max_packet_size

prototest.mysql.handshake.ClientHandshake.max_packet_size = max_packet_size

Definition at line 229 of file handshake.py.

◆ scramble

prototest.mysql.handshake.ClientHandshake.scramble = scramble

Definition at line 234 of file handshake.py.

◆ scramble_size

prototest.mysql.handshake.ClientHandshake.scramble_size = scramble_size

Definition at line 233 of file handshake.py.

◆ unused

prototest.mysql.handshake.ClientHandshake.unused = unused

Definition at line 231 of file handshake.py.

◆ user

prototest.mysql.handshake.ClientHandshake.user = user

Definition at line 232 of file handshake.py.


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