Package org.jitsi.xmpp.mucclient
Class MucClient
-
-
Field Summary
Fields Modifier and Type Field Description public final MucClientConfigurationconfig
-
Method Summary
Modifier and Type Method Description MucClientConfigurationgetConfig()booleansendStanza(Stanza stanza)Send an xmpp stanza on the xmpp connection StringtoString()voidsetPresenceExtension(ExtensionElement extension)Adds an extension to our presence in the MUC. voidsetPresenceExtensions(Collection<ExtensionElement> extensions)Adds a set of extension to our presence in the MUC. voidremovePresenceExtension(String elementName, String namespace)Removes from our presence any extensions with the given elementNameandnamespace.StringgetId()-
-
Method Detail
-
getConfig
@NotNull() MucClientConfiguration getConfig()
-
sendStanza
boolean sendStanza(Stanza stanza)
Send an xmpp stanza on the xmpp connection
- Parameters:
stanza- the stanza to send- Returns:
true if it is sent successfully, false otherwise
-
setPresenceExtension
void setPresenceExtension(ExtensionElement extension)
Adds an extension to our presence in the MUC. If our presence already contains an extension with the same namespace and element name, the old one is removed.
- Parameters:
extension- the extension to add.
-
setPresenceExtensions
void setPresenceExtensions(Collection<ExtensionElement> extensions)
Adds a set of extension to our presence in the MUC. If our presence already contains extensions that match the namespace or element of any of the extensions to be added, the old ones are removed.
- Parameters:
extensions- the extensions to add.
-
removePresenceExtension
void removePresenceExtension(String elementName, String namespace)
Removes from our presence any extensions with the given
elementNameandnamespace.- Parameters:
elementName- the element name to match.namespace- the namespace to match.
-
-
-
-