HandshakeResponse41Packet

ldbc.connector.net.packet.request.HandshakeResponse41Packet
See theHandshakeResponse41Packet companion object
case class HandshakeResponse41Packet(capabilitiesFlags: Set[CapabilitiesFlags], user: String, hashedPassword: Array[Byte], pluginName: String, characterSet: Int, database: Option[String]) extends HandshakeResponsePacket

Handshake Response Packet sent by 4.1+ clients supporting CLIENT_PROTOCOL_41 Capabilities Flags flag, if the server announced it in its Protocol::Handshake. Otherwise (talking to an old server) the Protocol::HandshakeResponse320 packet must be used.

Value parameters

capabilitiesFlags

CapabilitiesFlags, CLIENT_PROTOCOL_41 always set.

characterSet

The character set of the client.

database

Database used for login

hashedPassword

The password of the client, hashed with the given method.

pluginName

The authentication plugin name.

user

The username of the client.

Attributes

Companion
object
Source
HandshakeResponse41Packet.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Packet
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def encode: BitVector

Attributes

Definition Classes
Source
HandshakeResponse41Packet.scala
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
HandshakeResponse41Packet.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Inherited fields