public final class InGameInputHandler extends InputHandler implements NetworkConstants
in game
.Modifier and Type | Field and Description |
---|---|
private static java.util.logging.Logger |
logger |
NO_TRADE, NO_TRADE_GOODS, NO_TRADE_HAGGLE, NO_TRADE_HOSTILE, STEAL_LAND
Constructor and Description |
---|
InGameInputHandler(FreeColServer freeColServer)
The constructor to use.
|
Modifier and Type | Method and Description |
---|---|
protected org.w3c.dom.Element |
logout(Connection connection,
org.w3c.dom.Element logoutElement)
Handles a "logout"-message.
|
createErrorReply, handle, register, unregister
getFreeColServer, getGame
public InGameInputHandler(FreeColServer freeColServer)
freeColServer
- The main server object.protected org.w3c.dom.Element logout(Connection connection, org.w3c.dom.Element logoutElement)
logout
in class InputHandler
connection
- The Connection
the message was received
on.logoutElement
- The element (root element in a DOM-parsed XML tree)
that holds all the information.