org.jivesoftware.openfire.muc.cluster
Class ServiceAddedEvent
java.lang.Object
org.jivesoftware.openfire.muc.cluster.ServiceAddedEvent
- All Implemented Interfaces:
- Externalizable, Serializable, Runnable, ClusterTask
public class ServiceAddedEvent
- extends Object
- implements ClusterTask
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceAddedEvent
public ServiceAddedEvent()
ServiceAddedEvent
public ServiceAddedEvent(String subdomain,
String description,
Boolean isHidden)
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
Copyright © 2003-2008 Jive Software.