}
}
private void process(Packet packet) {
try {
final ClientConnection conn = (ClientConnection) packet.getConn();
final ClientResponse clientResponse = client.getSerializationService().toObject(packet.getData());
final int callId = clientResponse.getCallId();
final Data response = clientResponse.getResponse();
handlePacket(response, clientResponse.isError(), callId, conn);
conn.decrementPacketCount();
} catch (Exception e) {
logger.severe("Failed to process task: " + packet + " on responseThread :" + getName());
}
}