added run statement to mock thread

#story[782]
This commit is contained in:
hba56
2017-04-28 13:34:50 +12:00
parent 214e26ad90
commit db4792452f
@@ -29,11 +29,8 @@ public class MockOutput implements Runnable
private int heartbeatSequenceNum = 1;
public MockOutput() throws IOException {
/**************sockets*******************/
//start Time
lastHeartbeatTime = System.currentTimeMillis();
serverSocket = new ServerSocket(4942);
@@ -134,8 +131,6 @@ public class MockOutput implements Runnable
} catch (IOException e) {
e.printStackTrace();
}
/**************sockets*******************/
}
@@ -143,6 +138,7 @@ public class MockOutput implements Runnable
public static void main(String argv[]) throws Exception
{
MockOutput client = new MockOutput();
client.run();
}
}