public interface ClientPingServerEvent extends Event, Cancellable
If this event gets cancelled, it will close the client connection without sending any response.
Modifier and Type | Interface and Description |
---|---|
static interface |
ClientPingServerEvent.Response
Represents a mutable response to a status request.
|
Modifier and Type | Method and Description |
---|---|
StatusClient |
getClient()
Gets the client pinging the server.
|
ClientPingServerEvent.Response |
getResponse()
Gets the response that is about to be sent to the client.
|
getCause, getContext, getSource
isCancelled, setCancelled
StatusClient getClient()
ClientPingServerEvent.Response getResponse()