public class Payload
extends java.lang.Object
| Constructor and Description |
|---|
Payload(int opcode,
byte[] data)
Initializes the variables
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData()
Returns the data
|
int |
getOpcode()
Returns the opcode
|