Ignore:
Timestamp:
10/15/2017 03:59:42 PM (9 years ago)
Author:
jdalbey
Message:

Multiple renaming of classes to improve clarity. Remove check for Paramics running before starting sim.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/cadsimulator/CADClientConnector.java

    r56 r123  
    2525 
    2626/** 
    27  * CADSimulatorClient handles communication between the CAD Simulator and  
     27 * CADClientConnector handles communication between the CAD Simulator and  
    2828 * remote CAD Clients.  Each instance of this class communicates with  
    2929 * a CAD Client through a socket.  The run() method continuously checks to see  
     
    4141 * @version $Date: 2006/06/14 00:12:38 $ $Revision: 1.5 $ 
    4242 */ 
    43 public class CADSimulatorClient extends Thread implements Observer { 
     43public class CADClientConnector extends Thread implements Observer { 
    4444     
    4545    /** Error Logger. */ 
     
    7272     * from the socket. 
    7373     */ 
    74     CADSimulatorClient(Socket newSocket) throws IOException{ 
    75          
    76         screenManager = new CADScreenManager(CADSimulator.theCoordinator);       
    77         CADSimulator.theCoordinator.addObserver(screenManager); 
     74    CADClientConnector(Socket newSocket) throws IOException{ 
     75         
     76        screenManager = new CADScreenManager(CADServer.theCoordinator);       
     77        CADServer.theCoordinator.addObserver(screenManager); 
    7878        screenManager.addObserver(this); 
    7979         
     
    132132 
    133133        screenManager.deleteObserver(this); 
    134         CADSimulator.theCoordinator.removeObserver(screenManager); 
     134        CADServer.theCoordinator.removeObserver(screenManager); 
    135135        //CADSimulator.theViewer.disconnectClient(); 
    136136    } 
Note: See TracChangeset for help on using the changeset viewer.