|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.smackx.packet.MUCUser.Destroy
public static class MUCUser.Destroy
Represents a notification that the room has been destroyed. After a room has been destroyed, the room occupants will receive a Presence packet of type 'unavailable' with the reason for the room destruction if provided by the room owner.
Constructor Summary | |
---|---|
MUCUser.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 MUCUser.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 |