private void deliverReply(Reply reply) {
        ICallBack<Integer> replyFunc = null;
        if (replyFunc == null) {
            replyFunc = eventList.get(reply.ReplyId().toString());
        }
        if (replyFunc == null) {
            replyFunc = eventList.get(reply.Identifier());
        }
        if (replyFunc != null) {
            replyFunc.invoke((!reply.Identifier().equals("[SERVER]")) ? reply.QueryId() : reply.QueryId() ^ -1);
        } else {
            Log(ComEvent.eType.Debug, "Reply couldn't be delivered (unhandled reply)");
        }
    }