Class OccupantLeftEvent
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.MUCRoomTask<Void>
-
- org.jivesoftware.openfire.muc.cluster.OccupantLeftEvent
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Void>
public class OccupantLeftEvent extends MUCRoomTask<Void>
Task that removes a room occupant from the list of occupants in the room. The occupant to remove is actually aRemoteMUCRole
.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OccupantLeftEvent()
OccupantLeftEvent(LocalMUCRoom room, MUCRole role)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
getResult()
MUCRole
getRole()
void
readExternal(ObjectInput in)
void
run()
void
writeExternal(ObjectOutput out)
-
Methods inherited from class org.jivesoftware.openfire.muc.cluster.MUCRoomTask
execute, getRoom, isOriginator, setOriginator
-
-
-
-
Constructor Detail
-
OccupantLeftEvent
public OccupantLeftEvent()
-
OccupantLeftEvent
public OccupantLeftEvent(LocalMUCRoom room, MUCRole role)
-
-
Method Detail
-
getRole
public MUCRole getRole()
-
getResult
public Void getResult()
-
run
public void run()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classMUCRoomTask<Void>
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classMUCRoomTask<Void>
- Throws:
IOException
ClassNotFoundException
-
-