Class NodeTask
- java.lang.Object
-
- org.jivesoftware.openfire.pubsub.cluster.NodeTask
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Void>
- Direct Known Subclasses:
AffiliationTask
,RefreshNodeTask
,RemoveNodeTask
,SubscriptionTask
public abstract class NodeTask extends Object implements ClusterTask<Void>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
nodeId
protected String
serviceId
protected Node.UniqueIdentifier
uniqueNodeIdentifier
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getNode()
String
getNodeId()
Void
getResult()
PubSubService
getService()
Node.UniqueIdentifier
getUniqueNodeIdentifier()
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
-
-
-
Field Detail
-
uniqueNodeIdentifier
protected transient Node.UniqueIdentifier uniqueNodeIdentifier
-
nodeId
protected String nodeId
-
serviceId
protected String serviceId
-
-
Constructor Detail
-
NodeTask
protected NodeTask()
-
NodeTask
protected NodeTask(Node node)
-
-
Method Detail
-
getUniqueNodeIdentifier
public Node.UniqueIdentifier getUniqueNodeIdentifier()
-
getNodeId
public String getNodeId()
-
getNode
public Node getNode()
-
getService
public PubSubService getService()
-
getResult
public Void getResult()
- Specified by:
getResult
in interfaceClusterTask<Void>
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-