Package org.mariadb.jdbc.message.server
Class InitialHandshakePacket
- java.lang.Object
-
- org.mariadb.jdbc.message.server.InitialHandshakePacket
-
- All Implemented Interfaces:
ServerMessage
public final class InitialHandshakePacket extends Object implements ServerMessage
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InitialHandshakePacketdecode(org.mariadb.jdbc.client.ReadableByteBuf reader)StringgetAuthenticationPluginType()longgetCapabilities()shortgetDefaultCollation()byte[]getSeed()shortgetServerStatus()longgetThreadId()org.mariadb.jdbc.client.ServerVersiongetVersion()booleanisMariaDBServer()
-
-
-
Method Detail
-
decode
public static InitialHandshakePacket decode(org.mariadb.jdbc.client.ReadableByteBuf reader)
-
getVersion
public org.mariadb.jdbc.client.ServerVersion getVersion()
-
getThreadId
public long getThreadId()
-
getSeed
public byte[] getSeed()
-
getCapabilities
public long getCapabilities()
-
getDefaultCollation
public short getDefaultCollation()
-
getServerStatus
public short getServerStatus()
-
isMariaDBServer
public boolean isMariaDBServer()
-
getAuthenticationPluginType
public String getAuthenticationPluginType()
-
-