public void run() { try { deliver(response); } catch (Throwable t) { LOGGER.log(Level.WARNING, "Exception while handling response", t); }}}); }
public void run() { try { deliver(response); } catch (Throwable t) { LOGGER.log(Level.WARNING, "Exception while handling response", t); }}}); }
/** * Invoked when a response arrives (even if the response code is not * successful, the response still was successfully transmitted). * * @param response the response */ protected void succeeded(final CoapResponse response) { // use thread from the protocol stage if (executor == null) deliver(response); // use thread from the client executer else executor.execute(new Runnable() { public void run() { try { deliver(response); } catch (Throwable t) { LOGGER.log(Level.WARNING, "Exception while handling response", t); }}}); }
/** * Invoked when a response arrives (even if the response code is not * successful, the response still was successfully transmitted). * * @param response the response */ protected void succeeded(final CoapResponse response) { // use thread from the protocol stage if (executor == null) deliver(response); // use thread from the client executer else executor.execute(new Runnable() { public void run() { try { deliver(response); } catch (Throwable t) { LOGGER.log(Level.WARNING, "Exception while handling response", t); }}}); }