Smack

org.jivesoftware.smackx.packet
Class MUCUser.Destroy

java.lang.Object
  extended by org.jivesoftware.smackx.packet.MUCUser.Destroy
Enclosing class:
MUCUser

public static class MUCUser.Destroy
extends java.lang.Object

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.

Author:
Gaston Dombiak

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

MUCUser.Destroy

public MUCUser.Destroy()
Method Detail

getJid

public java.lang.String getJid()
Returns the JID of an alternate location since the current room is being destroyed.

Returns:
the JID of an alternate location.

getReason

public java.lang.String getReason()
Returns the reason for the room destruction.

Returns:
the reason for the room destruction.

setJid

public void setJid(java.lang.String jid)
Sets the JID of an alternate location since the current room is being destroyed.

Parameters:
jid - the JID of an alternate location.

setReason

public void setReason(java.lang.String reason)
Sets the reason for the room destruction.

Parameters:
reason - the reason for the room destruction.

toXML

public java.lang.String toXML()

Smack

Copyright © 2003-2007 Jive Software.