edu.ntnu.ecosim.visual
Class Receiver

java.lang.Object
  extended by edu.ntnu.ecosim.communication.ResultReceiver
      extended by edu.ntnu.ecosim.visual.Receiver
All Implemented Interfaces:
java.io.Serializable, java.util.Observer

public class Receiver
extends ResultReceiver
implements java.io.Serializable

This class extends the ResultReceiver interface, and allows the interface to receive information from the simulation engine

Author:
martin.andreas.borke
See Also:
Serialized Form

Constructor Summary
Receiver(XMLManager xmlman)
          The Constructor.
 
Method Summary
 void xmlReceived(org.w3c.dom.Document doc)
          This method is called when a XML document is received.
 
Methods inherited from class edu.ntnu.ecosim.communication.ResultReceiver
update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Receiver

public Receiver(XMLManager xmlman)
The Constructor.

Method Detail

xmlReceived

public void xmlReceived(org.w3c.dom.Document doc)
Description copied from class: ResultReceiver
This method is called when a XML document is received. The implementation should parse the received document and use/display the results

Specified by:
xmlReceived in class ResultReceiver
Parameters:
doc - the document with information