Package net.md_5.bungee.api.event
Class ProxyPingEvent
Called when the proxy is queried for status from the server list.
-
Constructor Summary
ConstructorsConstructorDescriptionProxyPingEvent(PendingConnection connection, ServerPing response, Callback<ProxyPingEvent> done) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe connection asking for a ping response.The data to respond with.inthashCode()voidsetResponse(ServerPing response) The data to respond with.toString()Methods inherited from class net.md_5.bungee.api.event.AsyncEvent
completeIntent, postCall, registerIntent
-
Constructor Details
-
ProxyPingEvent
public ProxyPingEvent(PendingConnection connection, ServerPing response, Callback<ProxyPingEvent> done)
-
-
Method Details
-
getConnection
The connection asking for a ping response. -
getResponse
The data to respond with. -
setResponse
The data to respond with. -
toString
- Overrides:
toStringin classAsyncEvent<ProxyPingEvent>
-
equals
- Overrides:
equalsin classAsyncEvent<ProxyPingEvent>
-
canEqual
- Overrides:
canEqualin classAsyncEvent<ProxyPingEvent>
-
hashCode
public int hashCode()- Overrides:
hashCodein classAsyncEvent<ProxyPingEvent>
-