cad.simcad.worldsimulator.objects.parts
Class DumMDT

java.lang.Object
  |
  +--cad.simcad.worldsimulator.objects.parts.DumMDT
All Implemented Interfaces:
MDTSim, java.rmi.Remote, java.io.Serializable

public class DumMDT
extends java.lang.Object
implements MDTSim

Author:
Administrator
See Also:
Serialized Form

Constructor Summary
DumMDT(EmergencyVehicule ev)
          Creates a new instance of DumMDT
 
Method Summary
 java.lang.String getDisplayableString()
          Returns what a MDT User should see on the screen
 Status getMDTStatus()
          Returns the status of the simulated MDT
 void receiveIncident(Incident incident)
          Recieve an Incident.
 void setMDTStatus(Status newStatus)
          Set the status for the simulated MDT
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumMDT

public DumMDT(EmergencyVehicule ev)
Creates a new instance of DumMDT

Method Detail

getDisplayableString

public java.lang.String getDisplayableString()
Returns what a MDT User should see on the screen

Specified by:
getDisplayableString in interface MDTSim
Pre:
-
Returns:
The String to be displayed
Post:
-

getMDTStatus

public Status getMDTStatus()
Returns the status of the simulated MDT

Specified by:
getMDTStatus in interface MDTSim
Pre:
mdt init
Returns:
a Status object
Post:
The internal status of the MDT is returned

receiveIncident

public void receiveIncident(Incident incident)
Recieve an Incident. Do whatever has to be done with it (display ...)

Specified by:
receiveIncident in interface MDTSim
Pre:
Incident object
Post:
The incident information is displayed on the MDT screen

setMDTStatus

public void setMDTStatus(Status newStatus)
Set the status for the simulated MDT

Specified by:
setMDTStatus in interface MDTSim
Pre:
Status object correspond to this MDT
Returns:
a Status object
Post:
The internal status of the MDT has been set

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be