From 7668ad5ce5a9d7b0c3b08ca518f30b0fe8a5e2ed Mon Sep 17 00:00:00 2001 From: Gaston Dombiak Date: Mon, 4 Apr 2005 19:50:09 +0000 Subject: [PATCH] Methods comments enhanced. git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2480 b35dd754-fafc-0310-a699-88a17e54d16e --- .../jivesoftware/smackx/ServiceDiscoveryManager.java | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/source/org/jivesoftware/smackx/ServiceDiscoveryManager.java b/source/org/jivesoftware/smackx/ServiceDiscoveryManager.java index 7aa208ebc..7cdbd0510 100644 --- a/source/org/jivesoftware/smackx/ServiceDiscoveryManager.java +++ b/source/org/jivesoftware/smackx/ServiceDiscoveryManager.java @@ -274,7 +274,12 @@ public class ServiceDiscoveryManager { /** * Registers that a new feature is supported by this XMPP entity. When this client is - * queried for its information the registered features will be answered. + * queried for its information the registered features will be answered.

+ * + * Since no packet is actually sent to the server it is safe to perform this operation + * before logging to the server. In fact, you may want to configure the supported features + * before logging to the server so that the information is already available if it is required + * upon login. * * @param feature the feature to register as supported. */ @@ -285,7 +290,10 @@ public class ServiceDiscoveryManager { } /** - * Removes the specified feature from the supported features by this XMPP entity. + * Removes the specified feature from the supported features by this XMPP entity.

+ * + * Since no packet is actually sent to the server it is safe to perform this operation + * before logging to the server. * * @param feature the feature to remove from the supported features. */