Changeset 123 in tmcsimulator for trunk/src/tmcsim/cadsimulator/CADClientConnector.java
- Timestamp:
- 10/15/2017 03:59:42 PM (9 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/cadsimulator/CADClientConnector.java
r56 r123 25 25 26 26 /** 27 * CAD SimulatorClienthandles communication between the CAD Simulator and27 * CADClientConnector handles communication between the CAD Simulator and 28 28 * remote CAD Clients. Each instance of this class communicates with 29 29 * a CAD Client through a socket. The run() method continuously checks to see … … 41 41 * @version $Date: 2006/06/14 00:12:38 $ $Revision: 1.5 $ 42 42 */ 43 public class CAD SimulatorClientextends Thread implements Observer {43 public class CADClientConnector extends Thread implements Observer { 44 44 45 45 /** Error Logger. */ … … 72 72 * from the socket. 73 73 */ 74 CAD SimulatorClient(Socket newSocket) throws IOException{75 76 screenManager = new CADScreenManager(CADS imulator.theCoordinator);77 CADS imulator.theCoordinator.addObserver(screenManager);74 CADClientConnector(Socket newSocket) throws IOException{ 75 76 screenManager = new CADScreenManager(CADServer.theCoordinator); 77 CADServer.theCoordinator.addObserver(screenManager); 78 78 screenManager.addObserver(this); 79 79 … … 132 132 133 133 screenManager.deleteObserver(this); 134 CADS imulator.theCoordinator.removeObserver(screenManager);134 CADServer.theCoordinator.removeObserver(screenManager); 135 135 //CADSimulator.theViewer.disconnectClient(); 136 136 }
Note: See TracChangeset
for help on using the changeset viewer.
