org.jivesoftware.smackx
Class SharedGroupManager
java.lang.Object
org.jivesoftware.smackx.SharedGroupManager
public class SharedGroupManager
- extends Object
A SharedGroupManager provides services for discovering the shared groups where a user belongs.
Important note: This functionality is not part of the XMPP spec and it will only work
with Wildfire.
- Author:
- Gaston Dombiak
Method Summary |
static List |
getSharedGroups(Connection connection)
Returns the collection that will contain the name of the shared groups where the user
logged in with the specified session belongs. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SharedGroupManager
public SharedGroupManager()
getSharedGroups
public static List getSharedGroups(Connection connection)
throws XMPPException
- Returns the collection that will contain the name of the shared groups where the user
logged in with the specified session belongs.
- Parameters:
connection
- connection to use to get the user's shared groups.
- Returns:
- collection with the shared groups' name of the logged user.
- Throws:
XMPPException
Copyright © 2003-2007 Jive Software.