Class ServiceAddedEvent
- java.lang.Object
-
- org.jivesoftware.openfire.muc.cluster.ServiceAddedEvent
-
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<Void>
public class ServiceAddedEvent extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceAddedEvent()ServiceAddedEvent(String subdomain, String description, Boolean isHidden)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VoidgetResult()voidreadExternal(ObjectInput in)voidrun()voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
getResult
public Void getResult()
- Specified by:
getResultin interfaceClusterTask<Void>
-
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
-
-