|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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 | |
---|---|
String |
getJid()
Returns the JID of an alternate location since the current room is being destroyed. |
String |
getReason()
Returns the reason for the room destruction. |
void |
setJid(String jid)
Sets the JID of an alternate location since the current room is being destroyed. |
void |
setReason(String reason)
Sets the reason for the room destruction. |
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 String getJid()
public String getReason()
public void setJid(String jid)
jid
- the JID of an alternate location.public void setReason(String reason)
reason
- the reason for the room destruction.public String toXML()
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |