Package net.md_5.bungee.api.event
Class ProxyPingEvent
- java.lang.Object
- 
- net.md_5.bungee.api.plugin.Event
- 
- net.md_5.bungee.api.event.AsyncEvent<ProxyPingEvent>
- 
- net.md_5.bungee.api.event.ProxyPingEvent
 
 
 
- 
 public class ProxyPingEvent extends AsyncEvent<ProxyPingEvent> Called when the proxy is queried for status from the server list.
- 
- 
Constructor SummaryConstructors Constructor Description ProxyPingEvent(PendingConnection connection, ServerPing response, Callback<ProxyPingEvent> done)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)PendingConnectiongetConnection()The connection asking for a ping response.ServerPinggetResponse()The data to respond with.inthashCode()voidsetResponse(ServerPing response)The data to respond with.StringtoString()- 
Methods inherited from class net.md_5.bungee.api.event.AsyncEventcompleteIntent, postCall, registerIntent
 
- 
 
- 
- 
- 
Constructor Detail- 
ProxyPingEventpublic ProxyPingEvent(PendingConnection connection, ServerPing response, Callback<ProxyPingEvent> done) 
 
- 
 - 
Method Detail- 
getConnectionpublic PendingConnection getConnection() The connection asking for a ping response.
 - 
getResponsepublic ServerPing getResponse() The data to respond with.
 - 
setResponsepublic void setResponse(ServerPing response) The data to respond with.
 - 
toStringpublic String toString() - Overrides:
- toStringin class- AsyncEvent<ProxyPingEvent>
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- AsyncEvent<ProxyPingEvent>
 
 - 
canEqualprotected boolean canEqual(Object other) - Overrides:
- canEqualin class- AsyncEvent<ProxyPingEvent>
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- AsyncEvent<ProxyPingEvent>
 
 
- 
 
-