Class ServiceAddedEvent
java.lang.Object
org.jivesoftware.openfire.muc.cluster.ServiceAddedEvent
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Void>
Task that will add a service to the cluster node. When a service is added
in a cluster node the rest of the cluster nodes will need to add a copy.
They do -not- need to create database entries for the new service as the originator
will have already done that. This event assumes that it's the default representation
of a MUC service, and therefore should not pass information about internal component
generated MUC services.
- Author:
- Daniel Henninger
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServiceAddedEvent
public ServiceAddedEvent() -
ServiceAddedEvent
-
-
Method Details
-
getResult
- Specified by:
getResult
in interfaceClusterTask<Void>
-
run
public void run() -
writeExternal
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-