public class ProxyPingEvent extends AsyncEvent<ProxyPingEvent>
Constructor and Description |
---|
ProxyPingEvent(PendingConnection connection,
ServerPing response,
Callback<ProxyPingEvent> done) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
PendingConnection |
getConnection()
The connection asking for a ping response.
|
ServerPing |
getResponse()
The data to respond with.
|
int |
hashCode() |
void |
setResponse(ServerPing response)
The data to respond with.
|
String |
toString() |
completeIntent, postCall, registerIntent
public ProxyPingEvent(PendingConnection connection, ServerPing response, Callback<ProxyPingEvent> done)
public PendingConnection getConnection()
public ServerPing getResponse()
public void setResponse(ServerPing response)
public String toString()
toString
in class AsyncEvent<ProxyPingEvent>
public boolean equals(Object o)
equals
in class AsyncEvent<ProxyPingEvent>
protected boolean canEqual(Object other)
canEqual
in class AsyncEvent<ProxyPingEvent>
public int hashCode()
hashCode
in class AsyncEvent<ProxyPingEvent>
Copyright © 2012–2020 SpigotMC. All rights reserved.