Class AuthenticateSHA2Command
java.lang.Object
com.github.shyiko.mysql.binlog.network.protocol.command.AuthenticateSHA2Command
- Author:
- dingxiaobo
-
Field Summary
Fields inherited from interface com.github.shyiko.mysql.binlog.network.protocol.Packet
MAX_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionAuthenticateSHA2Command(String scramble, String password) AuthenticateSHA2Command(String schema, String username, String password, String scramble, int collation) -
Method Summary
-
Constructor Details
-
AuthenticateSHA2Command
-
AuthenticateSHA2Command
-
-
Method Details
-
setClientCapabilities
public void setClientCapabilities(int clientCapabilities) -
toByteArray
- Specified by:
toByteArrayin interfaceCommand- Throws:
IOException
-