|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface of the Dispatcher logical entity seen by a Client
| Method Summary | |
CADConnection |
connect(ConnectionData cd)
Open a persistent connection to the host, as defined by ConnectionData |
ConnectionReport |
disconnect(CADConnection cc)
Disconnect the NetworkConnector with the NetworkAcceptor |
EmergencyVehicule |
registerNewEmergencyVehicle()
Ask to CAC to register a new EmergencyVehicle in its Persistent Data storage returns the newly create EmergencyVehicule |
void |
sendData(FieldSet fs)
Send data over the network to a NetworkAcceptor |
void |
updateWorldMap(AbstractMap am)
Update the Map ued by the Main Server. |
| Method Detail |
public CADConnection connect(ConnectionData cd)
throws CACNetworkException,
ConnectionDataException
CACNetworkException - if no connection could be opened, due to physical errors
ConnectionDataException - There is not enough information to open a CADConnection
public void sendData(FieldSet fs)
throws CACNetworkException
CACNetworkException - if there is no open connection, or a problem during the
actual transfer of datapublic ConnectionReport disconnect(CADConnection cc)
public EmergencyVehicule registerNewEmergencyVehicle()
throws PersistentDataException
PersistentDataException
public void updateWorldMap(AbstractMap am)
throws CACNetworkException
CACNetworkException
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||