@Override
  protected void doRespond(RpcResponse resp) {
    NettyFutureUtils.safeWriteAndFlush(channel, resp);
  }
RpcConnection implementation for netty rpc server.
@since 2.0.0
hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/NettyServerRpcConnection.java