public abstract class AbstractAuthSwitchSendResponsePacket extends java.lang.Object implements InterfaceAuthSwitchSendResponsePacket
Modifier and Type | Field and Description |
---|---|
protected byte[] |
authData |
protected int |
packSeq |
protected java.lang.String |
password |
protected java.lang.String |
passwordCharacterEncoding |
Constructor and Description |
---|
AbstractAuthSwitchSendResponsePacket(int packSeq,
byte[] authData,
java.lang.String password,
java.lang.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 java.lang.String password
protected java.lang.String passwordCharacterEncoding
public AbstractAuthSwitchSendResponsePacket(int packSeq, byte[] authData, java.lang.String password, java.lang.String passwordCharacterEncoding)
packSeq
- packet sequenceauthData
- authentication datapassword
- passwordpasswordCharacterEncoding
- password character encodingpublic void handleResultPacket(PacketInputStream reader) throws java.sql.SQLException, java.io.IOException
handleResultPacket
in interface InterfaceAuthSwitchSendResponsePacket
reader
- packet fetcherjava.sql.SQLException
- if any functional error occurjava.io.IOException
- if any connection error occur