public final class HandshakeResponse extends Object implements com.singlestore.jdbc.message.ClientMessage
| Constructor and Description |
|---|
HandshakeResponse(Credential credential,
String authenticationPluginType,
byte[] seed,
Configuration conf,
String host,
long clientCapabilities,
byte exchangeCharset)
Object with parsed results
|
| Modifier and Type | Method and Description |
|---|---|
int |
encode(Writer writer,
com.singlestore.jdbc.client.Context context)
Encode client message to socket.
|
public HandshakeResponse(Credential credential, String authenticationPluginType, byte[] seed, Configuration conf, String host, long clientCapabilities, byte exchangeCharset)
credential - credentialauthenticationPluginType - authentication plugin to useseed - server seedconf - configurationhost - current hostclientCapabilities - client capabilitiesexchangeCharset - connection charsetpublic int encode(Writer writer, com.singlestore.jdbc.client.Context context) throws IOException
com.singlestore.jdbc.message.ClientMessageencode in interface com.singlestore.jdbc.message.ClientMessagewriter - socket writercontext - connection contextIOException - if socket error occurCopyright © 2025 SingleStore. All rights reserved.