Package org.jivesoftware.smackx.admin
Class ServiceAdministrationManager
- java.lang.Object
-
- org.jivesoftware.smack.Manager
-
- org.jivesoftware.smackx.admin.ServiceAdministrationManager
-
public class ServiceAdministrationManager extends Manager
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMMAND_NODE
-
Constructor Summary
Constructors Constructor Description ServiceAdministrationManager(XMPPConnection connection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteCommand
addUser()
void
addUser(EntityBareJid userJid, String password)
RemoteCommand
addUser(Jid service)
RemoteCommand
deleteUser()
void
deleteUser(Set<EntityBareJid> jidsToDelete)
void
deleteUser(EntityBareJid userJidToDelete)
RemoteCommand
deleteUser(Jid service)
static ServiceAdministrationManager
getInstanceFor(XMPPConnection connection)
-
Methods inherited from class org.jivesoftware.smack.Manager
connection, getAuthenticatedConnectionOrThrow, schedule, schedule, scheduleBlocking
-
-
-
-
Field Detail
-
COMMAND_NODE
public static final String COMMAND_NODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ServiceAdministrationManager
public ServiceAdministrationManager(XMPPConnection connection)
-
-
Method Detail
-
getInstanceFor
public static ServiceAdministrationManager getInstanceFor(XMPPConnection connection)
-
addUser
public RemoteCommand addUser()
-
addUser
public RemoteCommand addUser(Jid service)
-
addUser
public void addUser(EntityBareJid userJid, String password) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException
-
deleteUser
public RemoteCommand deleteUser()
-
deleteUser
public RemoteCommand deleteUser(Jid service)
-
deleteUser
public void deleteUser(EntityBareJid userJidToDelete) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException
-
deleteUser
public void deleteUser(Set<EntityBareJid> jidsToDelete) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException
-
-