Changeset 84 in tmcsimulator for branches/trunk/src


Ignore:
Timestamp:
10/06/2017 11:44:52 PM (9 years ago)
Author:
jtorres
Message:

FEPSimulator.cpp: FEPSimulator socket server is now receiving full messages, no more partial messages over the TCP socket. General housekeeping on FEPSim.cpp, NetworkReader?.cpp, ATMSDriver.java, NetworkLoader?.java.

Location:
branches/trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/trunk/src/atmsdriver/ATMSDriver.java

    r83 r84  
    5353     
    5454    /** Sleep Time (10 seconds). **/ 
    55     private static final int SLEEP_TIME = 10000; 
     55    private static final int SLEEP_TIME = 30000; 
    5656     
    5757    /** Exchange Reader */ 
  • branches/trunk/src/atmsdriver/NetworkLoader.java

    r82 r84  
    143143    private void constructFEPLines() 
    144144    { 
    145         try { 
    146             System.out.println("Building network..."); 
    147              
     145        try {             
    148146            // Get FEPLine IDs 
    149147            ArrayList<Integer> lineNums = getLineNums(new Scanner(LDSFile)); 
  • branches/trunk/src/atmsdriver/model/HighwayStatusWriter.java

    r82 r84  
    3131        Socket sock = new Socket(host, port); 
    3232        PrintWriter out = new PrintWriter(sock.getOutputStream(), true); 
    33         out.print(xml); 
     33        out.println(xml); 
    3434        sock.close(); 
    3535    } 
  • branches/trunk/src/tmcsim/application.properties

    r82 r84  
    1 #Fri, 06 Oct 2017 19:49:49 -0700 
     1#Sat, 07 Oct 2017 00:43:14 -0700 
    22 
    3 Application.revision=0 
     3Application.revision=83 
    44 
    5 Application.buildnumber=50 
     5Application.buildnumber=58 
Note: See TracChangeset for help on using the changeset viewer.