massim.competition2012
Class GraphSimulationRMIXMLDocumentObserver

java.lang.Object
  extended by massim.framework.DefaultObserver
      extended by massim.framework.rmi.XMLDocumentObserver
          extended by massim.competition2012.GraphSimulationRMIXMLDocumentObserver
All Implemented Interfaces:
Component, Observer

public class GraphSimulationRMIXMLDocumentObserver
extends XMLDocumentObserver

This RMIXMLDocumentObserver provides the information for the servermonitor.


Constructor Summary
GraphSimulationRMIXMLDocumentObserver()
           
 
Method Summary
 void generateDocument(org.w3c.dom.Document doc, SimulationState simstate)
          Generates the XML representation of the simulation state to send to the observer.
 
Methods inherited from class massim.framework.rmi.XMLDocumentObserver
getServiceName, notifySimulationEnd, notifySimulationStart, notifySimulationState, setServiceName, start, stop
 
Methods inherited from class massim.framework.DefaultObserver
notifySimulationConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphSimulationRMIXMLDocumentObserver

public GraphSimulationRMIXMLDocumentObserver()
Method Detail

generateDocument

public void generateDocument(org.w3c.dom.Document doc,
                             SimulationState simstate)
Generates the XML representation of the simulation state to send to the observer.

Specified by:
generateDocument in class XMLDocumentObserver
Parameters:
doc - The document to which the XML is generated.
simstate - The current simulation state.


Copyright © 2012. All Rights Reserved.