Class ConnectionPayloadPacket

java.lang.Object
com.xpdustry.claj.common.packets.ConnectionWrapperPacket
com.xpdustry.claj.common.packets.ConnectionPayloadPacket
All Implemented Interfaces:
Packet

public class ConnectionPayloadPacket extends ConnectionWrapperPacket
Special packet for connection packet wrapping.
  • Field Details

    • serializer

      public static ConnectionPayloadPacket.Serializer serializer
      Used to notify serializer to read/write the rest. MUST BE SET!
    • object

      public Object object
      Decoded object received by the client.
    • raw

      public RawPacket raw
      Copy of the raw packet received by the server. Must be freed after writing.
    • isTCP

      public boolean isTCP
  • Constructor Details

    • ConnectionPayloadPacket

      public ConnectionPayloadPacket()
  • Method Details