Class MySQLHandshakeResponse41Packet
java.lang.Object
org.apache.shardingsphere.db.protocol.mysql.packet.handshake.MySQLHandshakeResponse41Packet
- All Implemented Interfaces:
MySQLPacket,DatabasePacket<MySQLPacketPayload>
Handshake response above MySQL 4.1 packet protocol.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetAuthPluginName(MySQLAuthenticationMethod mysqlAuthenticationMethod) Set authentication plugin name.voidsetDatabase(String database) Set database.voidwrite(MySQLPacketPayload payload) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.shardingsphere.db.protocol.mysql.packet.MySQLPacket
getSequenceId
-
Constructor Details
-
MySQLHandshakeResponse41Packet
-
-
Method Details
-
setDatabase
Set database.- Parameters:
database- database
-
setAuthPluginName
Set authentication plugin name.- Parameters:
mysqlAuthenticationMethod- MySQL authentication method
-
write
- Specified by:
writein interfaceDatabasePacket<MySQLPacketPayload>
-