Openfire 3.5.2 Javadoc

org.jivesoftware.openfire.muc.cluster
Class BroascastPresenceRequest

java.lang.Object
  extended by org.jivesoftware.openfire.muc.cluster.MUCRoomTask
      extended by org.jivesoftware.openfire.muc.cluster.BroascastPresenceRequest
All Implemented Interfaces:
Externalizable, Serializable, Runnable, ClusterTask

public class BroascastPresenceRequest
extends MUCRoomTask

Task that broadcasts the presence of a room occupant to the occupants of the room being hosted by the cluster node. When a room occupant changes his presence an instance of this class will be sent to each cluster node and when executed a broadcast of the updated presence will be sent to local room occupants.

Author:
Gaston Dombiak
See Also:
Serialized Form

Constructor Summary
BroascastPresenceRequest()
           
BroascastPresenceRequest(LocalMUCRoom room, Presence message)
           
 
Method Summary
 Presence getPresence()
           
 Object getResult()
           
 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

BroascastPresenceRequest

public BroascastPresenceRequest()

BroascastPresenceRequest

public BroascastPresenceRequest(LocalMUCRoom room,
                                Presence message)
Method Detail

getPresence

public Presence getPresence()

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.5.2 Javadoc

Copyright © 2003-2007 Jive Software.