public void addIQResultListener(String id, IQResultListener listener) {
        addIQResultListener(id, listener, 60 * 1000);
    }
Adds an {@link IQResultListener} that will be invoked when an IQ result
is sent to the server itself and is of type result or error. This is a
nice way for the server to send IQ packets to other XMPP entities and be
waked up when a response is received back.<p>

Once an IQ result was received, the listener will be invoked and removed
from the list of listeners.<p>

If no result was received within one minute, the timeout method of the
listener will be invoked and the listener will be removed from the list
of listeners.

@param id
           the id of the IQ packet being sent from the server to an XMPP
           entity.
@param listener
           the IQResultListener that will be invoked when an answer is
           received
xmppserver/src/main/java/org/jivesoftware/openfire/IQRouter.java