From 5422734f65ff0186eedcd302f8a356e8b4c93077 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Mon, 13 Dec 2010 08:45:55 +0000 Subject: add a warning about QXmppRpcManager::callRemoteMethod() in code documentation --- src/QXmppRpcManager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/QXmppRpcManager.cpp') 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, -- cgit v1.2.3