119120121122123124125126127128129
// Establish a connection t4jClient.connect(); for (int threads = 0; threads < numProcessingThreads; threads++) { // This must be called once per processing thread t4jClient.process(); } Thread.sleep(5000); client.stop();