cad.simcad.mdt_server
Class mdt_serverI_Stub

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteStub
              |
              +--cad.simcad.mdt_server.mdt_serverI_Stub
All Implemented Interfaces:
MDTCentralizer, MDTConnector, java.rmi.Remote, java.io.Serializable

public final class mdt_serverI_Stub
extends java.rmi.server.RemoteStub
implements MDTCentralizer, MDTConnector, java.rmi.Remote

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
mdt_serverI_Stub()
           
mdt_serverI_Stub(java.rmi.server.RemoteRef ref)
           
 
Method Summary
 void directSetToBeep(Id $param_Id_1)
          JMi va etre fache pasque on a change une interface...
 Status[] getAllStatus()
          Returns a snapshot of the Status of all emergency vehicules
 Status getStatus(Id $param_Id_1)
          Returns the Status of object with Id id
 void sendIncidentToRemote(Incident $param_Incident_1)
          Send Incident info.
 void setStatus(Status $param_Status_1)
          Set the Status
 
Methods inherited from class java.rmi.server.RemoteStub
setRef
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

mdt_serverI_Stub

public mdt_serverI_Stub()

mdt_serverI_Stub

public mdt_serverI_Stub(java.rmi.server.RemoteRef ref)
Method Detail

directSetToBeep

public void directSetToBeep(Id $param_Id_1)
                     throws java.rmi.RemoteException
Description copied from interface: MDTCentralizer
JMi va etre fache pasque on a change une interface...

Specified by:
directSetToBeep in interface MDTCentralizer
java.rmi.RemoteException

getAllStatus

public Status[] getAllStatus()
                      throws java.rmi.RemoteException
Description copied from interface: MDTCentralizer
Returns a snapshot of the Status of all emergency vehicules

Specified by:
getAllStatus in interface MDTCentralizer
Returns:
An array of Status objects.
java.rmi.RemoteException

getStatus

public Status getStatus(Id $param_Id_1)
                 throws java.rmi.RemoteException
Description copied from interface: MDTCentralizer
Returns the Status of object with Id id

Specified by:
getStatus in interface MDTCentralizer
Returns:
-Status object -null of id is not known by the MDTCentralizer
java.rmi.RemoteException

sendIncidentToRemote

public void sendIncidentToRemote(Incident $param_Incident_1)
                          throws VehiculeAssociationException,
                                 ConnectionToObjectException,
                                 java.rmi.RemoteException
Description copied from interface: MDTCentralizer
Send Incident info. Routing info is inside the Incident objet

Specified by:
sendIncidentToRemote in interface MDTCentralizer
Parameters:
$param_Incident_1 - the Incident
Throws:
VehiculeAssociationException - if the Vehicule associated with Incident i is no more a valid vehicule Exception will tell the reason. Probably because current Status is not "free"
ConnectionToObjectException - if there was physical problem during the connection to the remote Vehicule (via MDT)
java.rmi.RemoteException

setStatus

public void setStatus(Status $param_Status_1)
               throws java.rmi.RemoteException
Description copied from interface: MDTConnector
Set the Status

Specified by:
setStatus in interface MDTConnector
java.rmi.RemoteException

Logo

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