massim.framework.rmi
Class XMLDocumentObserver
java.lang.Object
massim.framework.DefaultObserver
massim.framework.rmi.XMLDocumentObserver
- All Implemented Interfaces:
- Component, Observer
- Direct Known Subclasses:
- GraphSimulationRMIXMLDocumentObserver, GraphSimulationRMIXMLDocumentObserver, SimulationRMIXMLDocumentObserver
public abstract class XMLDocumentObserver
- extends DefaultObserver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLDocumentObserver
public XMLDocumentObserver()
getServiceName
public java.lang.String getServiceName()
setServiceName
public void setServiceName(java.lang.String servicename)
notifySimulationEnd
public void notifySimulationEnd()
- Specified by:
notifySimulationEnd
in interface Observer
- Overrides:
notifySimulationEnd
in class DefaultObserver
notifySimulationStart
public void notifySimulationStart()
- Specified by:
notifySimulationStart
in interface Observer
- Overrides:
notifySimulationStart
in class DefaultObserver
notifySimulationState
public void notifySimulationState(SimulationState state)
- Specified by:
notifySimulationState
in interface Observer
- Overrides:
notifySimulationState
in class DefaultObserver
generateDocument
public abstract void generateDocument(org.w3c.dom.Document doc,
SimulationState state)
start
public void start()
- Description copied from interface:
Component
- Tell the component to start activity.
- Specified by:
start
in interface Component
- Overrides:
start
in class DefaultObserver
stop
public void stop()
- Description copied from interface:
Component
- Tell the component to cease activity.
- Specified by:
stop
in interface Component
- Overrides:
stop
in class DefaultObserver
Copyright © 2012. All Rights Reserved.