Class ConnectionJoinPacket

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

public class ConnectionJoinPacket extends ConnectionWrapperPacket
  • Field Details

    • addressHash

      public long addressHash
  • Constructor Details

    • ConnectionJoinPacket

      public ConnectionJoinPacket()
  • Method Details

    • read

      public void read(arc.util.io.ByteBufferInput read)
      Specified by:
      read in interface Packet
      Overrides:
      read in class ConnectionWrapperPacket
    • write

      public void write(arc.util.io.ByteBufferOutput write)
      Specified by:
      write in interface Packet
      Overrides:
      write in class ConnectionWrapperPacket
    • allow

      public boolean allow(boolean isServer)
      Returns:
      whether this packet should be allowed or ignored, for the type of endpoint.