Openfire 3.5.0.rc1 Javadoc

org.jivesoftware.openfire.muc.cluster
Class SeniorMemberRoomsRequest

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

public class SeniorMemberRoomsRequest
extends Object
implements ClusterTask

Task to be requested by a node that joins a cluster and be executed in the senior cluster member to get the rooms with occupants. The list of rooms with occupants is returned to the new cluster node so that the new cluster node can be updated and have the same information shared by the cluster.

Moreover, each existing cluster node will also need to learn the rooms with occupants that exist in the new cluster node and replicate them. This work is accomplished using GetNewMemberRoomsRequest.

Author:
Gaston Dombiak
See Also:
Serialized Form

Constructor Summary
SeniorMemberRoomsRequest()
           
 
Method Summary
 Object getResult()
           
 void readExternal(ObjectInput in)
           
 void run()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeniorMemberRoomsRequest

public SeniorMemberRoomsRequest()
Method Detail

getResult

public Object getResult()
Specified by:
getResult in interface ClusterTask

run

public void run()
Specified by:
run in interface Runnable

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

Openfire 3.5.0.rc1 Javadoc

Copyright © 2003-2007 Jive Software.