HandshakeHandler class

Inheritance

Constructors

HandshakeHandler(String? _user, String? _password, int _maxPacketSize, int _characterSet, [String? db, bool useCompression = false, bool useSSL = false])

Properties

authPlugin AuthPlugin
no setter
hashCode int
The hash code for this object.
no setterinherited
log → Logger
finalinherited
protocolVersion int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrambleBuffer List<int>
getter/setter pair
scrambleLength int?
getter/setter pair
serverCapabilities int
getter/setter pair
serverLanguage int?
getter/setter pair
serverStatus int?
getter/setter pair
serverVersion String?
getter/setter pair
threadId int?
getter/setter pair
useCompression bool
getter/setter pair
useSSL bool
getter/setter pair

Methods

checkResponse(Buffer response, [bool prepareStmt = false, bool isHandlingRows = false]) → dynamic
Parses the response packet to recognise Ok and Error packets. Returns an _OkPacket if the packet was an Ok packet, throws a MySqlException if it was an Error packet, or returns null if the packet has not been handled by this method.
inherited
createRequest() Buffer
The server initiates the handshake after the client connects, so a request will never be created.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processResponse(Buffer response) HandlerResponse
After receiving the handshake packet, if all is well, an _AuthHandler is created and returned to handle authentication.
override
readResponseBuffer(Buffer response) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

MYSQL_NATIVE_PASSWORD → const String