Openfire 3.9.3 Javadoc

org.jivesoftware.openfire.muc.cluster
Class ServiceAddedEvent

java.lang.Object
  extended by 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

Constructor Summary
ServiceAddedEvent()
           
ServiceAddedEvent(String subdomain, String description, Boolean isHidden)
           
 
Method Summary
 Object getResult()
           
 void readExternal(ObjectInput in)
           
 void run()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceAddedEvent

public ServiceAddedEvent()

ServiceAddedEvent

public ServiceAddedEvent(String subdomain,
                         String description,
                         Boolean isHidden)
Method Detail

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

Openfire 3.9.3 Javadoc

Copyright © 2003-2008 Jive Software.