Removed the rest of the shared model classes needed by mock
#story[778]
This commit is contained in:
@@ -32,7 +32,6 @@ public class VisualiserInput implements Runnable
|
||||
|
||||
public VisualiserInput(Socket connectionSocket) throws IOException{
|
||||
|
||||
//connectionSocket = new Socket(InetAddress.getLocalHost(), 4942);
|
||||
this.connectionSocket = connectionSocket;
|
||||
|
||||
this.course = new StreamedCourse();
|
||||
@@ -173,7 +172,7 @@ public class VisualiserInput implements Runnable
|
||||
}else{
|
||||
boatLocation.put(msg.getSourceID(), msg);
|
||||
}
|
||||
// System.out.println("Boat Location Message!");
|
||||
System.out.println("Boat Location Message!");
|
||||
break;
|
||||
case MARKROUNDING:
|
||||
// System.out.println("Mark Rounding Message!");
|
||||
@@ -204,7 +203,9 @@ public class VisualiserInput implements Runnable
|
||||
public static void main(String argv[]) throws Exception
|
||||
{
|
||||
//this is the test data that streams form the AC35 website
|
||||
Socket socket = new Socket("livedata.americascup.com",4941);
|
||||
|
||||
Socket socket = new Socket(InetAddress.getLocalHost(), 4942);
|
||||
// Socket socket = new Socket("livedata.americascup.com",4941);
|
||||
VisualiserInput receiver = new VisualiserInput(socket);
|
||||
receiver.run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user