Package org.mariadb.r2dbc.message.server
Class AuthSwitchPacket
- java.lang.Object
-
- org.mariadb.r2dbc.message.server.AuthSwitchPacket
-
- All Implemented Interfaces:
AuthSwitch,ServerMessage
public class AuthSwitchPacket extends Object implements AuthSwitch, ServerMessage
-
-
Constructor Summary
Constructors Constructor Description AuthSwitchPacket(Sequencer sequencer, String plugin, byte[] seed)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuthSwitchPacketdecode(Sequencer sequencer, io.netty.buffer.ByteBuf buf, Context context)booleanending()StringgetPlugin()byte[]getSeed()SequencergetSequencer()-
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 AuthSwitchPacket decode(Sequencer sequencer, io.netty.buffer.ByteBuf buf, Context context)
-
getPlugin
public String getPlugin()
- Specified by:
getPluginin interfaceAuthSwitch
-
getSeed
public byte[] getSeed()
- Specified by:
getSeedin interfaceAuthSwitch
-
getSequencer
public Sequencer getSequencer()
- Specified by:
getSequencerin interfaceAuthSwitch
-
ending
public boolean ending()
- Specified by:
endingin interfaceServerMessage
-
-