added run statement to mock thread

#story[782]
main
hba56 9 years ago
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();
}
}
Loading…
Cancel
Save