public abstract class Packet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static byte |
PROTOCOL_VERSION |
protected int |
token |
Modifier | Constructor and Description |
---|---|
protected |
Packet(Flag flag,
Operation operation,
int token) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBase64Data() |
byte[] |
getData() |
protected abstract byte[] |
getPayload() |
public static final byte PROTOCOL_VERSION
protected final int token