public class SendNativePasswordAuthPacket extends AbstractAuthSwitchSendResponsePacket implements InterfaceAuthSwitchSendResponsePacket
authData, packSeq, password, passwordCharacterEncoding
Constructor and Description |
---|
SendNativePasswordAuthPacket(java.lang.String password,
byte[] authData,
int packSeq,
java.lang.String passwordCharacterEncoding) |
Modifier and Type | Method and Description |
---|---|
void |
send(PacketOutputStream pos)
Send native password stream.
|
handleResultPacket
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleResultPacket
public SendNativePasswordAuthPacket(java.lang.String password, byte[] authData, int packSeq, java.lang.String passwordCharacterEncoding)
public void send(PacketOutputStream pos) throws java.io.IOException
send
in interface InterfaceSendPacket
pos
- database socketjava.io.IOException
- if a connection error occur