Added note in JavaDoc that the ChatStateManager#getInstace need be called in order to receive chat state notifications.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@8458 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Alex Wenckus 2007-06-05 04:38:29 +00:00 committed by alex
parent 5d01a7faf0
commit 049ca8975e
1 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,10 @@ import java.util.WeakHashMap;
* packet extensions and the disco response neccesary for compliance with
* <a href="http://www.xmpp.org/extensions/xep-0085.html">XEP-0085</a>.
*
* NOTE: {@link org.jivesoftware.smackx.ChatStateManager#getInstance(org.jivesoftware.smack.XMPPConnection)}
* needs to be called in order for the listeners to be registered appropriately with the connection.
* If this does not occur you will not receive the update notifications.
*
* @author Alexander Wenckus
* @see org.jivesoftware.smackx.ChatState
* @see org.jivesoftware.smackx.packet.ChatStateExtension