public class SIOPacket extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ACK |
static int |
BINARY_ACK |
static int |
BINARY_EVENT |
static int |
CONNECT |
static int |
DISCONNECT |
static int |
ERROR |
static int |
EVENT |
static String[] |
SOCKET_TYPES |
Constructor and Description |
---|
SIOPacket() |
SIOPacket(int socketType,
String nsp,
String data) |
Modifier and Type | Method and Description |
---|---|
String |
getData() |
String |
getNsp() |
int |
getSeq() |
int |
getSocketType() |
void |
setData(String data) |
void |
setNsp(String nsp) |
void |
setSeq(int seq) |
void |
setSocketType(int socketType) |
public static final int CONNECT
public static final int DISCONNECT
public static final int EVENT
public static final int ACK
public static final int ERROR
public static final int BINARY_EVENT
public static final int BINARY_ACK
public static final String[] SOCKET_TYPES
public int getSeq()
public void setSeq(int seq)
public String getNsp()
public void setNsp(String nsp)
public String getData()
public void setData(String data)
public int getSocketType()
public void setSocketType(int socketType)
Copyright © 2020 Voovan. All rights reserved.