public class SendHandshakeResponsePacket extends Object
Constructor and Description |
---|
SendHandshakeResponsePacket() |
Modifier and Type | Method and Description |
---|---|
static void |
send(PacketOutputStream pos,
String username,
String password,
String host,
String database,
long clientCapabilities,
long serverCapabilities,
byte serverLanguage,
byte packetSeq,
Options options,
String pluginName,
byte[] seed)
Send handshake response packet.
|
public static void send(PacketOutputStream pos, String username, String password, String host, String database, long clientCapabilities, long serverCapabilities, byte serverLanguage, byte packetSeq, Options options, String pluginName, byte[] seed) throws IOException
pos
- output streamusername
- user namepassword
- passwordhost
- current hostnamedatabase
- database nameclientCapabilities
- client capabilitiesserverCapabilities
- server capabilitiesserverLanguage
- server language (utf8 / utf8mb4 collation)packetSeq
- packet sequenceoptions
- user optionspluginName
- plugin nameseed
- seedIOException
- if socket exception occurCopyright © 2019 mariadb.org. All rights reserved.