Class SeniorMemberServicesRequest
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.SeniorMemberServicesRequest
-
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<List<ServiceInfo>>
public class SeniorMemberServicesRequest extends Object implements ClusterTask<List<ServiceInfo>>
Task to be requested by a node that joins a cluster and be executed in the senior cluster member to get the services with rooms with occupants. The list of services with 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 services and rooms with occupants that exist in the new cluster node and replicate them. This work is accomplished using
GetNewMemberRoomsRequeston each service.- Author:
- Daniel Henninger
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SeniorMemberServicesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ServiceInfo>getResult()voidreadExternal(ObjectInput in)voidrun()voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
getResult
public List<ServiceInfo> getResult()
- Specified by:
getResultin interfaceClusterTask<List<ServiceInfo>>
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-