receiver.shutdown(); udpReceiverThread.interrupt();
receiver.shutdown(); udpReceiverThread.interrupt();
/** * Kill off the sender and receiver. * <p> * @throws Exception on error */ @Override protected void tearDown() throws Exception { receiver.shutdown(); sender.destroy(); super.tearDown(); }
/** * Kill off the sender and receiver. * <p> * @throws Exception on error */ @Override protected void tearDown() throws Exception { receiver.shutdown(); sender.destroy(); super.tearDown(); }