|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface of the Dispatcher, server-side.
| Method Summary | |
boolean |
acceptConnection(CADConnection c)
Method for accepting connections |
void |
closeConnection(CADConnection c)
Close a connection. |
void |
recieveData(FieldSet fs)
Method for recieving data from a NetworkConnector |
EmergencyVehicule |
registerNewEmergencyVehicle()
Ask to CAC to register a new EmergencyVehicle in its Persistent Data storage returns the newly create EmergencyVehicule |
void |
updateWorldMap(AbstractMap am)
Update the Map ued by the Main Server. |
| Method Detail |
public boolean acceptConnection(CADConnection c)
throws java.rmi.RemoteException
java.rmi.RemoteException
public void recieveData(FieldSet fs)
throws java.rmi.RemoteException
java.rmi.RemoteException
public void closeConnection(CADConnection c)
throws java.rmi.RemoteException
c - a CADConnection objectjava.rmi.RemoteException
public EmergencyVehicule registerNewEmergencyVehicle()
throws java.rmi.RemoteException,
PersistentDataException
java.rmi.RemoteException
PersistentDataException
public void updateWorldMap(AbstractMap am)
throws java.rmi.RemoteException
java.rmi.RemoteException
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||