Smack

org.jivesoftware.smackx.packet
Class MUCOwner.Destroy

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

public static class MUCOwner.Destroy
extends Object

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.

Author:
Gaston Dombiak

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

MUCOwner.Destroy

public MUCOwner.Destroy()
Method Detail

getJid

public 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 String getReason()
Returns the reason for the room destruction.

Returns:
the reason for the room destruction.

setJid

public void setJid(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(String reason)
Sets the reason for the room destruction.

Parameters:
reason - the reason for the room destruction.

toXML

public String toXML()

Smack

Copyright © 2003-2007 Jive Software.