call.setResponse(null, null, CALL_DROPPED_EXCEPTION, "Call dropped, server " + (address != null ? address : "(channel closed)") + " is overloaded, please retry."); call.sendResponseIfReady(); } catch (ClosedChannelException cce) { InetSocketAddress address = rpcServer.getListenerAddress();
CellScanner cells = resultPair != null ? resultPair.getSecond() : null; call.setResponse(param, cells, errorThrowable, error); call.sendResponseIfReady(); this.status.markComplete("Sent response"); this.status.pause("Waiting for a call");