Class Destroy
java.lang.Object
org.jivesoftware.smackx.muc.packet.Destroy
- All Implemented Interfaces:
Serializable,org.jivesoftware.smack.packet.Element,org.jivesoftware.smack.packet.NamedElement
public class Destroy
extends Object
implements org.jivesoftware.smack.packet.NamedElement, Serializable
Represents a request to the server to destroy a room. The sender of the request should be the
room's owner. If the sender of the destroy request is not the room's owner then the server will
answer a "Forbidden" error.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()org.jxmpp.jid.EntityBareJidgetJid()Returns the JID of an alternate location since the current room is being destroyed.Returns the password of the alternate location.Returns the reason for the room destruction.org.jivesoftware.smack.util.XmlStringBuildertoXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.Element
toXML, toXML
-
Field Details
-
ELEMENT
- See Also:
-
-
Constructor Details
-
Destroy
-
Destroy
-
Destroy
-
-
Method Details
-
getJid
public org.jxmpp.jid.EntityBareJid getJid()Returns the JID of an alternate location since the current room is being destroyed.- Returns:
- the JID of an alternate location.
-
getPassword
Returns the password of the alternate location.- Returns:
- the password of the alternate location.
-
getReason
Returns the reason for the room destruction.- Returns:
- the reason for the room destruction.
-
toXML
public org.jivesoftware.smack.util.XmlStringBuilder toXML(org.jivesoftware.smack.packet.XmlEnvironment enclosingNamespace) - Specified by:
toXMLin interfaceorg.jivesoftware.smack.packet.Element
-
getElementName
- Specified by:
getElementNamein interfaceorg.jivesoftware.smack.packet.NamedElement
-
clone
-