Class DestroyRoomRequest
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.MUCRoomTask<Void>
-
- org.jivesoftware.openfire.muc.cluster.DestroyRoomRequest
-
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<Void>
public class DestroyRoomRequest extends MUCRoomTask<Void>
Task that destroys the local room in the cluster node. Local room occupants hosted in the cluster node will get the notification of the room being destroyed.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DestroyRoomRequest()DestroyRoomRequest(LocalMUCRoom room, String alternateJID, String reason)DestroyRoomRequest(LocalMUCRoom room, org.xmpp.packet.JID alternateJID, String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xmpp.packet.JIDgetAlternateJID()StringgetReason()VoidgetResult()voidreadExternal(ObjectInput in)voidrun()voidwriteExternal(ObjectOutput out)-
Methods inherited from class org.jivesoftware.openfire.muc.cluster.MUCRoomTask
execute, getRoom, isOriginator, setOriginator
-
-
-
-
Constructor Detail
-
DestroyRoomRequest
public DestroyRoomRequest()
-
DestroyRoomRequest
public DestroyRoomRequest(LocalMUCRoom room, org.xmpp.packet.JID alternateJID, String reason)
-
DestroyRoomRequest
public DestroyRoomRequest(LocalMUCRoom room, String alternateJID, String reason)
-
-
Method Detail
-
getResult
public Void getResult()
-
run
public void run()
-
getAlternateJID
public org.xmpp.packet.JID getAlternateJID()
-
getReason
public String getReason()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classMUCRoomTask<Void>- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classMUCRoomTask<Void>- Throws:
IOExceptionClassNotFoundException
-
-