Class AuthMoreRawPacket

  • All Implemented Interfaces:
    ClientMessage

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

      • raw

        private final byte[] raw
    • Constructor Detail

      • AuthMoreRawPacket

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

      • encode

        public int encode​(Writer writer,
                          Context context)
                   throws java.io.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:
        java.io.IOException - if socket error occur