cad.simcad.objectserver.spec.sim.objects
Interface MDTSim

All Superinterfaces:
java.rmi.Remote, java.io.Serializable
All Known Implementing Classes:
DumMDT, MDT

public interface MDTSim
extends java.rmi.Remote, java.io.Serializable

Interface for simulated object called MDT

Author:
Charles-Philip Bentley

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
 

Method Detail

getMDTStatus

public Status getMDTStatus()
                    throws java.rmi.RemoteException
Returns the status of the simulated MDT

Pre:
mdt init
Returns:
a Status object
java.rmi.RemoteException
Post:
The internal status of the MDT is returned

setMDTStatus

public void setMDTStatus(Status newStatus)
                  throws java.rmi.RemoteException
Set the status for the simulated MDT

Pre:
Status object correspond to this MDT
Returns:
a Status object
java.rmi.RemoteException
Post:
The internal status of the MDT has been set

receiveIncident

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

Pre:
Incident object
java.rmi.RemoteException
Post:
The incident information is displayed on the MDT screen

getDisplayableString

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

Pre:
-
Returns:
The String to be displayed
java.rmi.RemoteException
Post:
-

Logo

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