diff --git a/src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java b/src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java index a610b9f884348f5b7f9e5775f7a7e85d9536c749..c4df2f3639cc9f3547626d3bdf542b45a584f768 100644 --- a/src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java +++ b/src/edu/nps/moves/dis7/utilities/stream/PduRecorder.java @@ -109,7 +109,6 @@ public class PduRecorder implements PduReceiver disThreadedNetIF.addRawListener(bAndL -> { receivePdu(bAndL.buff, bAndL.length); }); - sleep(250L); // need time for the send/receive threads to start System.out.println(getClass() + " listening to IP address " + mcastaddr + " on port: " + port); } @@ -309,11 +308,4 @@ public class PduRecorder implements PduReceiver recorder.end(); } - - private static void sleep(long ms) - { - try{ - Thread.sleep(ms);} - catch(InterruptedException ex) {} - } }