public class QueryPing extends AUDPPing
QueryPingResponseAUDPPing.PacketReader, AUDPPing.PacketWriter| Constructor and Description |
|---|
QueryPing(IUDPSocketFactory socketFactory,
int readTimeout,
boolean full) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultPort() |
void |
ping(ServerAddress serverAddress,
IStatusListener statusListener)
Ping the server and call the status listener.
|
connect, readPacket, writePacketprepareResponsepublic QueryPing(IUDPSocketFactory socketFactory, int readTimeout, boolean full)
public int getDefaultPort()
getDefaultPort in class APingpublic void ping(ServerAddress serverAddress, IStatusListener statusListener)
APing