added run statement to mock thread
#story[782]
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user