Package org.mariadb.r2dbc.message.server
Class InitialHandshakePacket
- java.lang.Object
-
- org.mariadb.r2dbc.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(Sequencer sequencer, io.netty.buffer.ByteBuf buffer)booleanending()StringgetAuthenticationPluginType()longgetCapabilities()shortgetDefaultCollation()intgetMajorServerVersion()intgetMinorServerVersion()byte[]getSeed()SequencergetSequencer()shortgetServerStatus()StringgetServerVersion()longgetThreadId()booleanisMariaDBServer()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mariadb.r2dbc.message.ServerMessage
refCnt, release, resultSetEnd
-
-
-
-
Method Detail
-
decode
public static InitialHandshakePacket decode(Sequencer sequencer, io.netty.buffer.ByteBuf buffer)
-
getServerVersion
public String getServerVersion()
-
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()
-
getSequencer
public Sequencer getSequencer()
-
getMajorServerVersion
public int getMajorServerVersion()
-
getMinorServerVersion
public int getMinorServerVersion()
-
ending
public boolean ending()
- Specified by:
endingin interfaceServerMessage
-
-