Class RoomRemovedEvent
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.RoomRemovedEvent
-
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<Void>
public class RoomRemovedEvent extends Object implements ClusterTask<Void>
Task that will remove a local room from the cluster node. When a room is destroyed in a cluster node the rest of the cluster nodes will need to destroy their copy and send notifications to the room occupants hosted in the local cluster node.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RoomRemovedEvent()RoomRemovedEvent(LocalMUCRoom room)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoidgetResult()voidreadExternal(ObjectInput in)voidrun()voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
RoomRemovedEvent
public RoomRemovedEvent()
-
RoomRemovedEvent
public RoomRemovedEvent(LocalMUCRoom room)
-
-
Method Detail
-
getResult
public Void getResult()
- Specified by:
getResultin interfaceClusterTask<Void>
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-