Class ReadInitialHandShakePacket
- java.lang.Object
-
- org.mariadb.jdbc.internal.com.read.ReadInitialHandShakePacket
-
public class ReadInitialHandShakePacket extends Object
-
-
Constructor Summary
Constructors Constructor Description ReadInitialHandShakePacket(PacketInputStream reader)
Read database initial stream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthenticationPluginType()
byte
getProtocolVersion()
byte[]
getSeed()
long
getServerCapabilities()
byte
getServerLanguage()
short
getServerStatus()
long
getServerThreadId()
String
getServerVersion()
boolean
isServerMariaDb()
String
toString()
-
-
-
Constructor Detail
-
ReadInitialHandShakePacket
public ReadInitialHandShakePacket(PacketInputStream reader) throws IOException, SQLException
Read database initial stream.- Parameters:
reader
- packetFetcher- Throws:
IOException
- if a connection error occurSQLException
- if received an error packet
-
-
Method Detail
-
getServerVersion
public String getServerVersion()
-
getProtocolVersion
public byte getProtocolVersion()
-
getServerThreadId
public long getServerThreadId()
-
getSeed
public byte[] getSeed()
-
getServerCapabilities
public long getServerCapabilities()
-
getServerLanguage
public byte getServerLanguage()
-
getServerStatus
public short getServerStatus()
-
getAuthenticationPluginType
public String getAuthenticationPluginType()
-
isServerMariaDb
public boolean isServerMariaDb()
-
-