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

Public Member Functions

 __init__ (self, packed=None, protocol_version=10, server_version=b'', thread_id=0, scramble=tuple([0] *20), null1=0, capabilities=0, charset=0, status=0, unused=tuple([0] *13), null2=0)
 pack (self)
 __str__ (self)

Public Attributes

 protocol_version = protocol_version
 server_version = server_version
 thread_id = thread_id
 scramble = scramble
 null1 = null1
 capabilities = Capabilities(capabilities)
 charset = charset
 status = Status(status)
 unused = unused
 null2 = null2

Detailed Description

This class represents the initial handshake sent from server to client.

Definition at line 95 of file handshake.py.

Constructor & Destructor Documentation

◆ __init__()

prototest.mysql.handshake.ServerHandshake.__init__ ( self,
packed = None,
protocol_version = 10,
server_version = b'',
thread_id = 0,
scramble = tuple([0] * 20),
null1 = 0,
capabilities = 0,
charset = 0,
status = 0,
unused = tuple([0] * 13),
null2 = 0 )

Definition at line 98 of file handshake.py.

Member Function Documentation

◆ __str__()

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

Definition at line 143 of file handshake.py.

◆ pack()

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

Definition at line 126 of file handshake.py.

Member Data Documentation

◆ capabilities

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

Definition at line 107 of file handshake.py.

◆ charset

prototest.mysql.handshake.ServerHandshake.charset = charset

Definition at line 108 of file handshake.py.

◆ null1

prototest.mysql.handshake.ServerHandshake.null1 = null1

Definition at line 106 of file handshake.py.

◆ null2

prototest.mysql.handshake.ServerHandshake.null2 = null2

Definition at line 111 of file handshake.py.

◆ protocol_version

prototest.mysql.handshake.ServerHandshake.protocol_version = protocol_version

Definition at line 102 of file handshake.py.

◆ scramble

prototest.mysql.handshake.ServerHandshake.scramble = scramble

Definition at line 105 of file handshake.py.

◆ server_version

prototest.mysql.handshake.ServerHandshake.server_version = server_version

Definition at line 103 of file handshake.py.

◆ status

prototest.mysql.handshake.ServerHandshake.status = Status(status)

Definition at line 109 of file handshake.py.

◆ thread_id

prototest.mysql.handshake.ServerHandshake.thread_id = thread_id

Definition at line 104 of file handshake.py.

◆ unused

prototest.mysql.handshake.ServerHandshake.unused = unused

Definition at line 110 of file handshake.py.


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