private class InputHandler.DisconnectHandler extends java.lang.Object implements NetworkRequestHandler
| Modifier | Constructor and Description |
|---|---|
private |
DisconnectHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Element |
handle(Connection connection,
org.w3c.dom.Element disconnectElement)
Handle a request represented by an
Element and return another
Element or null as the answer. |
private void |
logDisconnect(Connection connection,
ServerPlayer player) |
public org.w3c.dom.Element handle(Connection connection, org.w3c.dom.Element disconnectElement)
NetworkRequestHandlerElement and return another
Element or null as the answer.handle in interface NetworkRequestHandlerconnection - The message's Connection.disconnectElement - The root Element of the message.Element, which may be null.private void logDisconnect(Connection connection, ServerPlayer player)