Interface Packet

  • All Known Subinterfaces:

    public interface Packet
    A packet transmitted over the connection of a client and a server.

    Note to plugin implementations: This must have a no-args constructor.

    • Method Detail

      • read

        void read​(ChannelBuf buf)
        Read the data from the channel buffer into this packet.
        buf - The buffer to read from
      • write

        void write​(ChannelBuf buf)
        Write the data from this packet to the channel buffer.
        buf - The buffer to write to