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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node
getNode()
String
getNodeId()
Void
getResult()
PubSubService
getService()
void
readExternal(ObjectInput in)
void
writeExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
NodeTask
protected NodeTask()
-
NodeTask
protected NodeTask(Node node)
-
-
Method Detail
-
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
-
-