Changeset 120 in tmcsimulator for trunk/src


Ignore:
Timestamp:
10/14/2017 12:53:52 PM (9 years ago)
Author:
jdalbey
Message:

rename ATMSDriverClient to ATMSBatchDriver

Location:
trunk/src/tmcsim
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/tmcsim/application.properties

    r118 r120  
    1 #Sat, 14 Oct 2017 12:09:29 -0700 
     1#Sat, 14 Oct 2017 13:43:49 -0700 
    22 
    3 Application.revision=114 
     3Application.revision=119 
    44 
    55Application.buildnumber=52 
  • trunk/src/tmcsim/client/ATMSBatchDriver.java

    r112 r120  
    4343 * @author jdalbey 
    4444 */ 
    45 public class ATMSDriverClient extends UnicastRemoteObject implements 
     45public class ATMSBatchDriver extends UnicastRemoteObject implements 
    4646        CADClientInterface 
    4747{ 
     
    114114     * file containing configuration data. 
    115115     */ 
    116     public ATMSDriverClient(String propertiesFile) throws SimulationException, 
     116    public ATMSBatchDriver(String propertiesFile) throws SimulationException, 
    117117            RemoteException 
    118118    { 
     
    149149                        simClock = formatter.parse(currentClock); 
    150150                    } catch (ParseException ex) { 
    151                         Logger.getLogger(ATMSDriverClient.class.getName()).log(Level.SEVERE, null, ex); 
     151                        Logger.getLogger(ATMSBatchDriver.class.getName()).log(Level.SEVERE, null, ex); 
    152152                        System.out.println("Invalid simulation clock time found in ATMSDriverClient"); 
    153153                        System.exit(-1); 
     
    156156                } catch (RemoteException ex) 
    157157                { 
    158                     Logger.getLogger(ATMSDriverClient.class.getName()).log(Level.SEVERE, null, ex); 
     158                    Logger.getLogger(ATMSBatchDriver.class.getName()).log(Level.SEVERE, null, ex); 
    159159                } 
    160160                // If we have any events left to process 
     
    168168                        eventTime = formatter.parse(eventTimeField); 
    169169                    } catch (ParseException ex) { 
    170                         Logger.getLogger(ATMSDriverClient.class.getName()).log(Level.WARNING, null, ex); 
     170                        Logger.getLogger(ATMSBatchDriver.class.getName()).log(Level.WARNING, null, ex); 
    171171                        System.out.println("Unable to parse event time: " + nextEvent + " skipping."); 
    172172                        eventQueue.remove(); 
     
    220220            } 
    221221        } catch (FileNotFoundException ex) { 
    222             Logger.getLogger(ATMSDriverClient.class.getName()).log(Level.SEVERE, null, ex); 
     222            Logger.getLogger(ATMSBatchDriver.class.getName()).log(Level.SEVERE, null, ex); 
    223223        } 
    224224    } 
     
    344344        { 
    345345            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 
    346             new ATMSDriverClient(System.getProperty("CONFIG_DIR") + System.getProperty("file.separator") + CONFIG_FILE_NAME); 
     346            new ATMSBatchDriver(System.getProperty("CONFIG_DIR") + System.getProperty("file.separator") + CONFIG_FILE_NAME); 
    347347 
    348348        } catch (Exception e) 
Note: See TracChangeset for help on using the changeset viewer.