net.sf.freecol.server.control
Interface InputHandler.NetworkRequestHandler

All Known Implementing Classes:
InputHandler.CurrentPlayerNetworkRequestHandler, InputHandler.DisconnectHandler
Enclosing class:
InputHandler

static interface InputHandler.NetworkRequestHandler

A network request handler knows how to handle in a given request type.


Method Summary
 org.w3c.dom.Element handle(Connection connection, org.w3c.dom.Element element)
          Handle a request represented by an Element and return another Element or null as the answer.
 

Method Detail

handle

org.w3c.dom.Element handle(Connection connection,
                           org.w3c.dom.Element element)
Handle a request represented by an Element and return another Element or null as the answer.

Parameters:
connection - The message's Connection.
element - The root element of the message.
Returns:
reply element, may be null.