|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.smackx.packet.MUCOwner.Destroy
public static class MUCOwner.Destroy
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.
Constructor Summary | |
---|---|
MUCOwner.Destroy()
|
Method Summary | |
---|---|
java.lang.String |
getJid()
Returns the JID of an alternate location since the current room is being destroyed. |
java.lang.String |
getReason()
Returns the reason for the room destruction. |
void |
setJid(java.lang.String jid)
Sets the JID of an alternate location since the current room is being destroyed. |
void |
setReason(java.lang.String reason)
Sets the reason for the room destruction. |
java.lang.String |
toXML()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MUCOwner.Destroy()
Method Detail |
---|
public java.lang.String getJid()
public java.lang.String getReason()
public void setJid(java.lang.String jid)
jid
- the JID of an alternate location.public void setReason(java.lang.String reason)
reason
- the reason for the room destruction.public java.lang.String toXML()
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |