net.sf.freecol.server.control
Class InputHandler.DisconnectHandler

java.lang.Object
  extended by net.sf.freecol.server.control.InputHandler.DisconnectHandler
All Implemented Interfaces:
InputHandler.NetworkRequestHandler
Enclosing class:
InputHandler

private class InputHandler.DisconnectHandler
extends java.lang.Object
implements InputHandler.NetworkRequestHandler


Constructor Summary
private InputHandler.DisconnectHandler()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InputHandler.DisconnectHandler

private InputHandler.DisconnectHandler()
Method Detail

handle

public org.w3c.dom.Element handle(Connection connection,
                                  org.w3c.dom.Element disconnectElement)
Description copied from interface: InputHandler.NetworkRequestHandler
Handle a request represented by an Element and return another Element or null as the answer.

Specified by:
handle in interface InputHandler.NetworkRequestHandler
Parameters:
connection - The message's Connection.
disconnectElement - The root element of the message.
Returns:
reply element, may be null.

logDisconnect

private void logDisconnect(Connection connection,
                           ServerPlayer player)