Class SubscriptionTask
- java.lang.Object
-
- org.jivesoftware.openfire.pubsub.cluster.NodeTask
-
- org.jivesoftware.openfire.pubsub.cluster.SubscriptionTask
-
- All Implemented Interfaces:
Externalizable
,Serializable
,Runnable
,ClusterTask<Void>
- Direct Known Subclasses:
CancelSubscriptionTask
,ModifySubscriptionTask
,NewSubscriptionTask
public abstract class SubscriptionTask 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 SubscriptionTask()
SubscriptionTask(NodeSubscription subscription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.xmpp.packet.JID
getOwner()
NodeSubscription.State
getState()
org.xmpp.packet.JID
getSubscriberJid()
NodeSubscription
getSubscription()
String
getSubscriptionId()
void
readExternal(ObjectInput in)
String
toString()
void
writeExternal(ObjectOutput out)
-
Methods inherited from class org.jivesoftware.openfire.pubsub.cluster.NodeTask
getNode, getNodeId, getResult, getService, getUniqueNodeIdentifier
-
-
-
-
Constructor Detail
-
SubscriptionTask
public SubscriptionTask()
-
SubscriptionTask
public SubscriptionTask(NodeSubscription subscription)
-
-
Method Detail
-
getSubscriptionId
public String getSubscriptionId()
-
getOwner
public org.xmpp.packet.JID getOwner()
-
getSubscriberJid
public org.xmpp.packet.JID getSubscriberJid()
-
getState
public NodeSubscription.State getState()
-
getSubscription
public NodeSubscription getSubscription()
-
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
-
-