public final class MultiUserChatManager extends ExtensionManager
features, xmppSession| Modifier and Type | Method and Description |
|---|---|
void |
addInvitationListener(InvitationListener invitationListener)
Adds an invitation listener, which allows to listen for incoming multi-user chat invitations.
|
ChatService |
createChatService(rocks.xmpp.core.Jid chatService)
Creates a chat service for the specified service address.
|
Collection<ChatService> |
getChatServices()
Discovers the multi-user chat services hosted at the connected domain.
|
void |
removeInvitationListener(InvitationListener invitationListener)
Removes a previously added invitation listener.
|
setEnabledpublic void addInvitationListener(InvitationListener invitationListener)
invitationListener - The listener.removeInvitationListener(InvitationListener)public void removeInvitationListener(InvitationListener invitationListener)
invitationListener - The listener.addInvitationListener(InvitationListener)public Collection<ChatService> getChatServices() throws rocks.xmpp.core.XmppException
rocks.xmpp.core.stanza.model.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.rocks.xmpp.core.XmppExceptionpublic ChatService createChatService(rocks.xmpp.core.Jid chatService)
chatService - The chat service address. Usually this is hosted at the subdomain "conference".Copyright © 2014 XMPP.rocks. All rights reserved.