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.Affiliation
getAffilation()
org.xmpp.packet.JID
getJID()
void
readExternal(ObjectInput in)
void
run()
String
toString()
void
writeExternal(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:
writeExternal
in interfaceExternalizable
- Overrides:
writeExternal
in classNodeTask
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Overrides:
readExternal
in classNodeTask
- Throws:
IOException
ClassNotFoundException
-
-