move package name
This commit is contained in:
22
src/main/java/io/socket/parser/Packet.java
Normal file
22
src/main/java/io/socket/parser/Packet.java
Normal file
@@ -0,0 +1,22 @@
|
||||
package io.socket.parser;
|
||||
|
||||
|
||||
public class Packet<T> {
|
||||
|
||||
public int type = -1;
|
||||
public int id = -1;
|
||||
public String nsp;
|
||||
public T data;
|
||||
public int attachments;
|
||||
|
||||
public Packet() {}
|
||||
|
||||
public Packet(int type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public Packet(int type, T data) {
|
||||
this.type = type;
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user