Class BroadcastPresenceRequest
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.MUCRoomTask<Void>
-
- org.jivesoftware.openfire.muc.cluster.BroadcastPresenceRequest
-
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<Void>
public class BroadcastPresenceRequest extends MUCRoomTask<Void>
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
Constructors Constructor Description BroadcastPresenceRequest()BroadcastPresenceRequest(LocalMUCRoom room, org.xmpp.packet.Presence message, boolean isJoinPresence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xmpp.packet.PresencegetPresence()VoidgetResult()booleanisJoinPresence()voidreadExternal(ObjectInput in)voidrun()voidwriteExternal(ObjectOutput out)-
Methods inherited from class org.jivesoftware.openfire.muc.cluster.MUCRoomTask
execute, getRoom, isOriginator, setOriginator
-
-
-
-
Constructor Detail
-
BroadcastPresenceRequest
public BroadcastPresenceRequest()
-
BroadcastPresenceRequest
public BroadcastPresenceRequest(LocalMUCRoom room, org.xmpp.packet.Presence message, boolean isJoinPresence)
-
-
Method Detail
-
getPresence
public org.xmpp.packet.Presence getPresence()
-
isJoinPresence
public boolean isJoinPresence()
-
getResult
public Void getResult()
-
run
public void run()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classMUCRoomTask<Void>- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classMUCRoomTask<Void>- Throws:
IOExceptionClassNotFoundException
-
-