Class Packet<T>

java.lang.Object
io.socket.parser.Packet<T>

public class Packet<T> extends Object
  • Field Details

    • type

      public int type
    • id

      public int id
    • nsp

      public String nsp
    • data

      public T data
    • attachments

      public int attachments
  • Constructor Details

    • Packet

      public Packet()
    • Packet

      public Packet(int type)
    • Packet

      public Packet(int type, T data)