Removed broken time extracting method and replaced it with currently existing long extractor. Added speed to the setDestination method for the raceObject abstract class.

#story[820]
This commit is contained in:
Kusal Ekanayake
2017-05-01 18:22:08 +12:00
parent 1d47df09eb
commit d927531354
6 changed files with 43 additions and 45 deletions
+5 -5
View File
@@ -31,16 +31,16 @@ public class App extends Application
}
if (args.length > 1){
sr = new StreamReceiver("localhost", 8085, "TestThread1");
sr = new StreamReceiver("localhost", 8085, "RaceStream");
}
else{
//StreamReceiver sr = new StreamReceiver("csse-s302staff.canterbury.ac.nz", 4941,"TestThread1");
//sr = new StreamReceiver("livedata.americascup.com", 4941, "TestThread1");
sr = new StreamReceiver("localhost", 8085, "TestThread1");
// sr = new StreamReceiver("csse-s302staff.canterbury.ac.nz", 4941,"RaceStream");
sr = new StreamReceiver("livedata.americascup.com", 4941, "RaceStream");
// sr = new StreamReceiver("localhost", 8085, "RaceStream");
}
sr.start();
StreamParser streamParser = new StreamParser("TestThread2");
StreamParser streamParser = new StreamParser("StreamParser");
streamParser.start();
launch(args);