|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--cad.simcad.ClientImpl.RMIConnector
This interface of the Dispatcher logical entity seen by a Client
| Constructor Summary | |
RMIConnector(CADConnection CA)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RMIConnector(CADConnection CA)
| Method Detail |
public CADConnection connect(ConnectionData cd)
throws CACNetworkException,
ConnectionDataException
connect in interface NetworkConnectorCACNetworkException - 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
sendData in interface NetworkConnectorCACNetworkException - if there is no open connection, or a problem during the
actual transfer of datapublic ConnectionReport disconnect(CADConnection cc)
NetworkConnector
disconnect in interface NetworkConnector
public EmergencyVehicule registerNewEmergencyVehicle()
throws PersistentDataException
registerNewEmergencyVehicle in interface NetworkConnectorPersistentDataException
public void updateWorldMap(AbstractMap am)
throws CACNetworkException
updateWorldMap in interface NetworkConnectorCACNetworkException
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||