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; private int heartbeatSequenceNum = 1;
public MockOutput() throws IOException { public MockOutput() throws IOException {
/**************sockets*******************/
//start Time //start Time
lastHeartbeatTime = System.currentTimeMillis(); lastHeartbeatTime = System.currentTimeMillis();
serverSocket = new ServerSocket(4942); serverSocket = new ServerSocket(4942);
@ -134,8 +131,6 @@ public class MockOutput implements Runnable
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
} }
/**************sockets*******************/
} }
@ -143,6 +138,7 @@ public class MockOutput implements Runnable
public static void main(String argv[]) throws Exception public static void main(String argv[]) throws Exception
{ {
MockOutput client = new MockOutput(); MockOutput client = new MockOutput();
client.run();
} }
} }
Loading…
Cancel
Save