Class RoomAvailableEvent
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.RoomAvailableEvent
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Void>
public class RoomAvailableEvent extends Object implements ClusterTask<Void>
Task that adds a new local room to the cluster node. When a room is created in a cluster node the rest of the cluster nodes will need to get the new room added in their list of existing rooms.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RoomAvailableEvent()
RoomAvailableEvent(LocalMUCRoom room)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
getResult()
void
readExternal(ObjectInput in)
void
run()
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
RoomAvailableEvent
public RoomAvailableEvent()
-
RoomAvailableEvent
public RoomAvailableEvent(LocalMUCRoom room)
-
-
Method Detail
-
getResult
public Void getResult()
- Specified by:
getResult
in interfaceClusterTask<Void>
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-