Class GetNumberConnectedUsers
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.GetNumberConnectedUsers
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Integer>
public class GetNumberConnectedUsers extends Object implements ClusterTask<Integer>
Task to be executed in each cluster node to obtain the total number of users using the multi user chat service.- Author:
- Gaston Dombiak
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetNumberConnectedUsers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getResult()
void
readExternal(ObjectInput in)
void
run()
void
writeExternal(ObjectOutput out)
-
-
-
Method Detail
-
getResult
public Integer getResult()
- Specified by:
getResult
in interfaceClusterTask<Integer>
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-