Constructor and Description |
---|
PacketDownloadServerList()
New PacketDownloadServerList (In)
|
PacketDownloadServerList(java.lang.String host,
java.lang.String group,
JSONCallback... callback)
New PacketDownloadServerList (Out)
|
Modifier and Type | Method and Description |
---|---|
void |
execute(org.json.JSONObject data)
Execute Incoming Packet
|
org.json.JSONObject |
generate()
Generate JSON Packet Contents
|
Version |
getVersion()
Get Packet Version
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCompatible
public PacketDownloadServerList()
public PacketDownloadServerList(java.lang.String host, java.lang.String group, JSONCallback... callback)
host
- Host name (or null for all)group
- Group name (or null for all)callback
- Callbackspublic org.json.JSONObject generate()
PacketOut
public void execute(org.json.JSONObject data)
PacketIn
public Version getVersion()
PacketIn
getVersion
in interface PacketIn
getVersion
in interface PacketOut