|
drizzle
C++ MySQL-protocol-compatible database server
|
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 | |
This class represents the initial handshake sent from server to client.
Definition at line 95 of file handshake.py.
| 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.
| prototest.mysql.handshake.ServerHandshake.__str__ | ( | self | ) |
Definition at line 143 of file handshake.py.
| prototest.mysql.handshake.ServerHandshake.pack | ( | self | ) |
Definition at line 126 of file handshake.py.
| prototest.mysql.handshake.ServerHandshake.capabilities = Capabilities(capabilities) |
Definition at line 107 of file handshake.py.
| prototest.mysql.handshake.ServerHandshake.charset = charset |
Definition at line 108 of file handshake.py.
| prototest.mysql.handshake.ServerHandshake.null1 = null1 |
Definition at line 106 of file handshake.py.
| prototest.mysql.handshake.ServerHandshake.null2 = null2 |
Definition at line 111 of file handshake.py.
| prototest.mysql.handshake.ServerHandshake.protocol_version = protocol_version |
Definition at line 102 of file handshake.py.
| prototest.mysql.handshake.ServerHandshake.scramble = scramble |
Definition at line 105 of file handshake.py.
| prototest.mysql.handshake.ServerHandshake.server_version = server_version |
Definition at line 103 of file handshake.py.
| prototest.mysql.handshake.ServerHandshake.status = Status(status) |
Definition at line 109 of file handshake.py.
| prototest.mysql.handshake.ServerHandshake.thread_id = thread_id |
Definition at line 104 of file handshake.py.
| prototest.mysql.handshake.ServerHandshake.unused = unused |
Definition at line 110 of file handshake.py.