public abstract class AbstractAuthSwitchSendResponsePacket extends Object implements InterfaceAuthSwitchSendResponsePacket
Modifier and Type | Field and Description |
---|---|
protected byte[] |
authData |
protected int |
packSeq |
protected String |
password |
protected String |
passwordCharacterEncoding |
Constructor and Description |
---|
AbstractAuthSwitchSendResponsePacket(int packSeq,
byte[] authData,
String password,
String passwordCharacterEncoding)
Handle Authentication.
|
Modifier and Type | Method and Description |
---|---|
void |
handleResultPacket(PacketInputStream reader)
Handle response packet.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
send
protected int packSeq
protected byte[] authData
protected String password
protected String passwordCharacterEncoding
public AbstractAuthSwitchSendResponsePacket(int packSeq, byte[] authData, String password, String passwordCharacterEncoding)
packSeq
- packet sequenceauthData
- authentication datapassword
- passwordpasswordCharacterEncoding
- password character encodingpublic void handleResultPacket(PacketInputStream reader) throws SQLException, IOException
handleResultPacket
in interface InterfaceAuthSwitchSendResponsePacket
reader
- packet fetcherSQLException
- if any functional error occurIOException
- if any connection error occurCopyright © 2017. All rights reserved.