Switching to use networking modules

#story[778]
This commit is contained in:
Erika Savell
2017-04-28 12:43:14 +12:00
parent c95f5377f6
commit b1bbef814b
6 changed files with 192 additions and 318 deletions
@@ -31,7 +31,7 @@ public class MockOutput
MockOutput() throws IOException{
public MockOutput() throws IOException{
/*******************************Test********************************/
StringBuilder xmlString;
@@ -32,12 +32,11 @@ public class VisualiserInput
VisualiserInput() throws IOException{
//sockets to connect to
// ServerSocket visualiserSocket = new ServerSocket(4942);
// Socket connectionSocket = visualiserSocket.accept();
ServerSocket visualiserSocket = new ServerSocket(4942);
Socket connectionSocket = visualiserSocket.accept();
//this is the test data that streams form the AC35 website
Socket connectionSocket = new Socket("livedata.americascup.com",4941);
// Socket connectionSocket = new Socket("livedata.americascup.com",4941);
//start Time