net.sf.freecol.common.networking
Class StatisticsMessage
java.lang.Object
net.sf.freecol.common.networking.Message
net.sf.freecol.common.networking.StatisticsMessage
public class StatisticsMessage
- extends Message
Methods inherited from class net.sf.freecol.common.networking.Message |
clientError, createError, createError, createNewDocument, createNewRootElement, getAttribute, getChildElement, getDocument, getFreeColProtocolVersion, getType, hasAttribute, insertAsRoot, isType, setAttribute, setAttribute, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StatisticsMessage
public StatisticsMessage(Game game,
AIMain aiMain)
StatisticsMessage
public StatisticsMessage(org.w3c.dom.Element element)
getGameStatistics
public final java.util.HashMap<java.lang.String,java.lang.Long> getGameStatistics()
- Get the game statistics.
- Returns:
- a
Tile
value
getAIStatistics
public final java.util.HashMap<java.lang.String,java.lang.Long> getAIStatistics()
- Get the ai statistics.
- Returns:
- a
Tile
value
getMemoryStatistics
public final java.util.HashMap<java.lang.String,java.lang.Long> getMemoryStatistics()
- Get the free memory.
- Returns:
- a
Tile
value
readFromXML
public void readFromXML(org.w3c.dom.Element element)
toXMLElement
public org.w3c.dom.Element toXMLElement()
- Overrides:
toXMLElement
in class Message
getXMLElementTagName
public static java.lang.String getXMLElementTagName()