cad.simcad.cac.network
Class RMINetworkAcceptor_Stub
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--java.rmi.server.RemoteStub
|
+--cad.simcad.cac.network.RMINetworkAcceptor_Stub
- All Implemented Interfaces:
- NetworkAcceptor, java.rmi.Remote, java.io.Serializable
- public final class RMINetworkAcceptor_Stub
- extends java.rmi.server.RemoteStub
- implements NetworkAcceptor, java.rmi.Remote
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
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 |
RMINetworkAcceptor_Stub
public RMINetworkAcceptor_Stub()
RMINetworkAcceptor_Stub
public RMINetworkAcceptor_Stub(java.rmi.server.RemoteRef ref)
acceptConnection
public boolean acceptConnection(CADConnection $param_CADConnection_1)
throws java.rmi.RemoteException
- Description copied from interface:
NetworkAcceptor
- Method for accepting connections
- Specified by:
acceptConnection
in interface NetworkAcceptor
- Returns:
- true if connection is accepted
false if connection is not accepted
java.rmi.RemoteException
closeConnection
public void closeConnection(CADConnection $param_CADConnection_1)
throws java.rmi.RemoteException
- Description copied from interface:
NetworkAcceptor
- Close a connection. Dump it
- Specified by:
closeConnection
in interface NetworkAcceptor
- Parameters:
$param_CADConnection_1
- a CADConnection object
java.rmi.RemoteException
recieveData
public void recieveData(FieldSet $param_FieldSet_1)
throws java.rmi.RemoteException
- Description copied from interface:
NetworkAcceptor
- Method for recieving data from a NetworkConnector
- Specified by:
recieveData
in interface NetworkAcceptor
java.rmi.RemoteException
registerNewEmergencyVehicle
public EmergencyVehicule registerNewEmergencyVehicle()
throws PersistentDataException,
java.rmi.RemoteException
- Description copied from interface:
NetworkAcceptor
- Ask to CAC to register a new EmergencyVehicle in its Persistent Data storage
returns the newly create EmergencyVehicule
- Specified by:
registerNewEmergencyVehicle
in interface NetworkAcceptor
PersistentDataException
java.rmi.RemoteException
updateWorldMap
public void updateWorldMap(AbstractMap $param_AbstractMap_1)
throws java.rmi.RemoteException
- Description copied from interface:
NetworkAcceptor
- Update the Map ued by the Main Server. For example if a new road has been built
- Specified by:
updateWorldMap
in interface NetworkAcceptor
java.rmi.RemoteException
With the help of www.sourceforge.net and www.info.ucl.ac.be