aboutsummaryrefslogtreecommitdiff
path: root/src/QXmppRpcManager.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-12-13 08:45:55 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-12-13 08:45:55 +0000
commit5422734f65ff0186eedcd302f8a356e8b4c93077 (patch)
treee0c69d653b361ad9f47a5f154ea500e25260671b /src/QXmppRpcManager.cpp
parentc042dd9068d34f35735dde83c838252181feecc3 (diff)
downloadqxmpp-5422734f65ff0186eedcd302f8a356e8b4c93077.tar.gz
add a warning about QXmppRpcManager::callRemoteMethod() in code documentation
Diffstat (limited to 'src/QXmppRpcManager.cpp')
-rw-r--r--src/QXmppRpcManager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/QXmppRpcManager.cpp b/src/QXmppRpcManager.cpp
index 63885556..8e6518d5 100644
--- a/src/QXmppRpcManager.cpp
+++ b/src/QXmppRpcManager.cpp
@@ -98,7 +98,10 @@ void QXmppRpcManager::invokeInterfaceMethod( const QXmppRpcInvokeIq &iq )
client()->sendPacket(errorIq);
}
-/// Call a remote method using RPC with the specified arguments.
+/// Calls a remote method using RPC with the specified arguments.
+///
+/// \note This method blocks until the response is received, and it may
+/// cause XMPP stanzas to be lost!
QXmppRemoteMethodResult QXmppRpcManager::callRemoteMethod( const QString &jid,
const QString &interface,