// we check stopped_ first to make sure we're not supposed to be shutting
// down. this is necessary for graceful shutdown.
TRpcConnectionContext server_ctx = new TRpcConnectionContext(client_,
inputProtocol,
outputProtocol);
while (!stopped_ && processor.process(inputProtocol, outputProtocol, server_ctx)) {}
} catch (TTransportException ttx) {
// Assume the client died and continue silently
} catch (TException tx) {
LOGGER.error("Thrift error occurred during processing of message.", tx);
} catch (Exception x) {