public void stop() throws Exception { if (listener != null) { listener.stop(); } else if (sender != null) { sender.stop(); } }
public void stop() throws Exception { if (listener != null) { listener.stop(); } else if (sender != null) { sender.stop(); } }
@TearDown @SuppressWarnings("unused") private void tearDown() throws Exception { sender.stop(); if (listenerManager != null) { listenerManager.stop(); listenerManager.destroy(); } cfgCtx.terminate(); }
@TearDown @SuppressWarnings("unused") private void tearDown() throws Exception { sender.stop(); if (listenerManager != null) { listenerManager.stop(); listenerManager.destroy(); } cfgCtx.terminate(); }
@TearDown @SuppressWarnings("unused") private void tearDown() throws Exception { sender.stop(); if (listenerManager != null) { listenerManager.stop(); listenerManager.destroy(); } cfgCtx.terminate(); }
TransportSender sender = outDescription.getSender(); if (sender != null) { sender.stop();
TransportSender sender = outDescription.getSender(); if (sender != null) { sender.stop();