Class AffiliationTask
- java.lang.Object
-
- org.jivesoftware.openfire.pubsub.cluster.NodeTask
-
- org.jivesoftware.openfire.pubsub.cluster.AffiliationTask
-
- All Implemented Interfaces:
Externalizable,Serializable,Runnable,ClusterTask<Void>
public class AffiliationTask extends NodeTask
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jivesoftware.openfire.pubsub.cluster.NodeTask
nodeId, serviceId, uniqueNodeIdentifier
-
-
Constructor Summary
Constructors Constructor Description AffiliationTask()AffiliationTask(Node node, org.xmpp.packet.JID jid, NodeAffiliate.Affiliation affiliation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeAffiliate.AffiliationgetAffilation()org.xmpp.packet.JIDgetJID()voidreadExternal(ObjectInput in)voidrun()StringtoString()voidwriteExternal(ObjectOutput out)-
Methods inherited from class org.jivesoftware.openfire.pubsub.cluster.NodeTask
getNode, getNodeId, getResult, getService, getUniqueNodeIdentifier
-
-
-
-
Constructor Detail
-
AffiliationTask
public AffiliationTask()
-
AffiliationTask
public AffiliationTask(Node node, org.xmpp.packet.JID jid, NodeAffiliate.Affiliation affiliation)
-
-
Method Detail
-
getJID
public org.xmpp.packet.JID getJID()
-
getAffilation
public NodeAffiliate.Affiliation getAffilation()
-
run
public void run()
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classNodeTask- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classNodeTask- Throws:
IOExceptionClassNotFoundException
-
-