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 StringgetAuthenticationPluginType()bytegetProtocolVersion()byte[]getSeed()longgetServerCapabilities()bytegetServerLanguage()shortgetServerStatus()longgetServerThreadId()StringgetServerVersion()booleanisServerMariaDb()StringtoString()
-
-
-
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()
-
-