HandshakeHandler class

Inheritance

Constructors

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

Properties

hashCode int
The hash code for this object.
no setterinherited
pluginName String?
getter/setter pair
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(ReadBuffer 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() Uint8List
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(ReadBuffer response) HandlerResponse
After receiving the handshake packet, if all is well, an _AuthHandler is created and returned to handle authentication.
override
readResponseBuffer(ReadBuffer 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