Warning: Can't use blame annotator:
svn blame failed on trunk/src/tmcsim/interfaces/ParamicsControlInterface.java: ("Can't find a temporary directory: Internal error", 20014)

source: tmcsimulator/trunk/src/tmcsim/interfaces/ParamicsControlInterface.java @ 2

Revision 2, 1.4 KB checked in by jdalbey, 10 years ago (diff)

Initial Import of project files

RevLine 
1package tmcsim.interfaces;
2
3import java.rmi.Remote;
4import java.rmi.RemoteException;
5
6import tmcsim.common.SimulationException;
7
8/**
9 * RMI interface to provide methods to control the Paramics connection.
10 * Provided functionality allows the connection to the remote Paramics
11 * Communicator to be established and dropped.  Also, the
12 * loadParamicsNetwork() method sends a command to Paramics to begin
13 * loading a traffic network.
14 *
15 * @author Matthew Cechini
16 * @version
17 */
18public interface ParamicsControlInterface extends Remote {
19
20    /**
21     *Establishes a connection to the remote Paramics Communicator.
22     *
23     * @throws RemoteException if there is an error in the RMI communication.
24     */
25    public void connectToParamics() throws RemoteException;
26
27
28    /**
29     * Drops the connection to the remote Paramics Communicator.
30     *
31     * @throws RemoteException if there is an error in the RMI communication.
32     */
33    public void disconnectFromParamics() throws RemoteException;
34
35
36    /**
37     * Sends a command to Paramics to begin loading a traffic network.
38     *
39     * @param networkID The unique indentifier for the network load request.
40     * @throws RemoteException if there is an error in the RMI communication.
41     * @throws SimulationException if there is an error loading the Paramics network.
42     */
43    public void loadParamicsNetwork(int networkID) throws RemoteException, SimulationException;
44   
45}
Note: See TracBrowser for help on using the repository browser.