Class Packet250CustomPayload


  • public class Packet250CustomPayload
    extends Packet
    • Field Detail

      • channel

        public java.lang.String channel
      • length

        public int length
      • data

        public byte[] data
    • Constructor Detail

      • Packet250CustomPayload

        public Packet250CustomPayload()
      • Packet250CustomPayload

        public Packet250CustomPayload​(java.lang.String channel,
                                      org.apache.commons.io.function.IOConsumer<java.io.DataOutputStream> builder)
    • Method Detail

      • readPacketData

        public void readPacketData​(java.io.DataInputStream var1)
                            throws java.io.IOException
        Specified by:
        readPacketData in class Packet
        Throws:
        java.io.IOException
      • writePacketData

        public void writePacketData​(java.io.DataOutputStream var1)
                             throws java.io.IOException
        Specified by:
        writePacketData in class Packet
        Throws:
        java.io.IOException