com.github.shyiko.mysql.binlog.network.protocol.command
Class AuthenticateCommand

java.lang.Object
  extended by com.github.shyiko.mysql.binlog.network.protocol.command.AuthenticateCommand
All Implemented Interfaces:
Command, Packet

public class AuthenticateCommand
extends Object
implements Command

Author:
Stanley Shyiko

Field Summary
 
Fields inherited from interface com.github.shyiko.mysql.binlog.network.protocol.Packet
MAX_LENGTH
 
Constructor Summary
AuthenticateCommand(String schema, String username, String password, String salt)
           
 
Method Summary
 void setClientCapabilities(int clientCapabilities)
           
 void setCollation(int collation)
           
 byte[] toByteArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticateCommand

public AuthenticateCommand(String schema,
                           String username,
                           String password,
                           String salt)
Method Detail

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.