com.github.shyiko.mysql.binlog.network.protocol.command
Class AuthenticateCommand
java.lang.Object
com.github.shyiko.mysql.binlog.network.protocol.command.AuthenticateCommand
- All Implemented Interfaces:
- Command, Packet
public class AuthenticateCommand
- extends Object
- implements Command
- Author:
- Stanley Shyiko
| Fields inherited from interface com.github.shyiko.mysql.binlog.network.protocol.Packet |
MAX_LENGTH |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticateCommand
public AuthenticateCommand(String schema,
String username,
String password,
String salt)
setClientCapabilities
public void setClientCapabilities(int clientCapabilities)
setCollation
public void setCollation(int collation)
toByteArray
public byte[] toByteArray()
throws IOException
- Specified by:
toByteArray in interface Command
- Throws:
IOException
Copyright © 2016. All Rights Reserved.