Handler class abstract
Handlers are responsible for serializing a MySQL command and also processing the response returned by MySQL server for the command.
Constructors
- Handler()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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. -
createRequest(
) → Uint8List - Constructs and returns a request command packet.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processResponse(
ReadBuffer response) → HandlerResponse -
Parses the
response
containing the response to the command. Returns a HandlerResponse. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited