Class AuthMoreRawPacket

java.lang.Object
org.mariadb.jdbc.message.client.AuthMoreRawPacket
All Implemented Interfaces:
ClientMessage

public final class AuthMoreRawPacket extends Object implements ClientMessage
plugin additional exchanges. raw data with mysql header packet
  • Field Details

    • raw

      private final byte[] raw
  • Constructor Details

    • AuthMoreRawPacket

      public AuthMoreRawPacket(byte[] raw)
      Constructor
      Parameters:
      raw - plugin exchange raw data
  • Method Details

    • encode

      public int encode(Writer writer, Context context) throws IOException
      Description copied from interface: ClientMessage
      Encode client message to socket.
      Specified by:
      encode in interface ClientMessage
      Parameters:
      writer - socket writer
      context - connection context
      Returns:
      number of client message written
      Throws:
      IOException - if socket error occur