Class Destroy
java.lang.Object
org.jivesoftware.smackx.muc.packet.Destroy
- All Implemented Interfaces:
Serializable
,Element
,NamedElement
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
-
Constructor Summary
ConstructorDescriptionDestroy
(EntityBareJid alternativeJid, String reason) Destroy
(EntityBareJid alternativeJid, String password, String reason) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Returns the root element name.getJid()
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.toXML
(XmlEnvironment enclosingNamespace)
-
Field Details
-
ELEMENT
- See Also:
-
-
Constructor Details
-
Destroy
-
Destroy
-
Destroy
-
-
Method Details
-
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
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
clone
-