public interface PacketIn
Modifier and Type | Method and Description |
---|---|
void |
execute(org.json.JSONObject data)
Execute Incoming Packet
|
Version |
getVersion()
Get Packet Version
|
default boolean |
isCompatible(Version version)
Check Compatibility with oncoming packet
|
void execute(org.json.JSONObject data) throws java.lang.Throwable
data
- Incoming Datajava.lang.Throwable
Version getVersion()
default boolean isCompatible(Version version)
version
- Version of oncoming packet