final IQ iq = new IQ(stanza);
final IQ.Type type = iq.getType();
if (IQ.Type.get.equals(type) || IQ.Type.set.equals(type)) {
eventBus.fireEventFromSource(new IQRequestReceivedEvent(iq), this);
} else if (IQ.Type.result.equals(type) || IQ.Type.error.equals(type)) {
eventBus.fireEventFromSource(new IQResponseReceivedEvent(iq), this);
}
}
}
}