Class SendHandshakeResponsePacket
- java.lang.Object
-
- org.mariadb.jdbc.internal.com.send.SendHandshakeResponsePacket
-
public class SendHandshakeResponsePacket extends Object
See https://mariadb.com/kb/en/library/connection/#client-handshake-response for reference.
-
-
Constructor Summary
Constructors Constructor Description SendHandshakeResponsePacket()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
send(PacketOutputStream pos, Credential credential, String host, String database, long clientCapabilities, long serverCapabilities, byte serverLanguage, byte packetSeq, Options options, String authenticationPluginType, byte[] seed)
Send handshake response packet.
-
-
-
Method Detail
-
send
public static void send(PacketOutputStream pos, Credential credential, String host, String database, long clientCapabilities, long serverCapabilities, byte serverLanguage, byte packetSeq, Options options, String authenticationPluginType, byte[] seed) throws IOException
Send handshake response packet.- Parameters:
pos
- output streamcredential
- credentialhost
- current hostnamedatabase
- database nameclientCapabilities
- client capabilitiesserverCapabilities
- server capabilitiesserverLanguage
- server language (utf8 / utf8mb4 collation)packetSeq
- packet sequenceoptions
- user optionsauthenticationPluginType
- Authentication plugin type. ex: mysql_native_passwordseed
- seed- Throws:
IOException
- if socket exception occur- See Also:
- protocol documentation
-
-