org.jivesoftware.openfire.muc.cluster
Class UpdateOccupant
java.lang.Object
org.jivesoftware.openfire.muc.cluster.MUCRoomTask
org.jivesoftware.openfire.muc.cluster.UpdateOccupant
- All Implemented Interfaces:
- Externalizable, Serializable, Runnable, ClusterTask
public class UpdateOccupant
- extends MUCRoomTask
Task that updates all information regarding a room occupant. Whenever a room
occupant gets his affiliation, role, nickname or presence updated the other
cluster nodes will need to reflect these changes.
- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpdateOccupant
public UpdateOccupant()
UpdateOccupant
public UpdateOccupant(LocalMUCRoom room,
MUCRole role)
getPresence
public Presence getPresence()
getNickname
public String getNickname()
getRole
public MUCRole.Role getRole()
getAffiliation
public MUCRole.Affiliation getAffiliation()
getResult
public Object getResult()
run
public void run()
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Overrides:
writeExternal
in class MUCRoomTask
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Overrides:
readExternal
in class MUCRoomTask
- Throws:
IOException
ClassNotFoundException
Copyright © 2003-2007 Jive Software.