public class SendHandshakeResponsePacket extends Object
| Constructor and Description |
|---|
SendHandshakeResponsePacket() |
| Modifier and Type | Method and 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,
String clientIp)
Send handshake response packet.
|
static void |
sendChangeUser(PacketOutputStream pos,
Credential credential,
String host,
String database,
long clientCapabilities,
long serverCapabilities,
byte serverLanguage,
byte packetSeq,
Options options,
String authenticationPluginType,
byte[] seed,
String clientIp,
boolean isOracleMode) |
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, String clientIp) throws IOException
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 - seedIOException - if socket exception occurpublic static void sendChangeUser(PacketOutputStream pos, Credential credential, String host, String database, long clientCapabilities, long serverCapabilities, byte serverLanguage, byte packetSeq, Options options, String authenticationPluginType, byte[] seed, String clientIp, boolean isOracleMode) throws IOException
IOExceptionCopyright © 2022 oceanbase.com. All rights reserved.