Openfire 3.9.3 Javadoc

org.jivesoftware.openfire.muc.cluster
Class BroadcastMessageRequest

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

public class BroadcastMessageRequest
extends MUCRoomTask

Task that broadcasts a message to local room occupants. When a room occupant sends a message to the room each cluster node will execute this task and broadcast the message to its local room occupants.

Author:
Gaston Dombiak
See Also:
Serialized Form

Constructor Summary
BroadcastMessageRequest()
           
BroadcastMessageRequest(LocalMUCRoom room, org.xmpp.packet.Message message, int occupants)
           
 
Method Summary
 org.xmpp.packet.Message getMessage()
           
 int getOccupants()
           
 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

BroadcastMessageRequest

public BroadcastMessageRequest()

BroadcastMessageRequest

public BroadcastMessageRequest(LocalMUCRoom room,
                               org.xmpp.packet.Message message,
                               int occupants)
Method Detail

getMessage

public org.xmpp.packet.Message getMessage()

getOccupants

public int getOccupants()

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.