Openfire 3.9.3 Javadoc

org.jivesoftware.openfire.muc.cluster
Class UpdateOccupant

java.lang.Object
  extended by org.jivesoftware.openfire.muc.cluster.MUCRoomTask
      extended by 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

Constructor Summary
UpdateOccupant()
           
UpdateOccupant(LocalMUCRoom room, MUCRole role)
           
 
Method Summary
 MUCRole.Affiliation getAffiliation()
           
 String getNickname()
           
 org.xmpp.packet.Presence getPresence()
           
 Object getResult()
           
 MUCRole.Role 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateOccupant

public UpdateOccupant()

UpdateOccupant

public UpdateOccupant(LocalMUCRoom room,
                      MUCRole role)
Method Detail

getPresence

public org.xmpp.packet.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

Openfire 3.9.3 Javadoc

Copyright © 2003-2008 Jive Software.