}
}
}
private void processWaitingResponses() {
TextCommand response = responses.remove(currentRequestId);
while (response != null) {
connection.getWriteHandler().enqueueSocketWritable(response);
currentRequestId++;
response = responses.remove(currentRequestId);
}