예제 #1
0
  @AfterClass
  public static void shutdown() throws Exception {
    pc.releaseExternalResources();
    serverThread.setShutdown(true);

    try {
      Thread.sleep(500L);
    } catch (Exception e) {;
    }
  }
예제 #2
0
  @BeforeClass
  public static void setUp() throws Exception {
    pc = new ParallelClient();

    serverThread = new TcpServerThread(false);
    serverThread.start();

    try {
      Thread.sleep(500L);
    } catch (Exception e) {;
    }
  }