org.jivesoftware.openfire.pubsub.cluster
Class SubscriptionTask
java.lang.Object
org.jivesoftware.openfire.pubsub.cluster.NodeTask
org.jivesoftware.openfire.pubsub.cluster.SubscriptionTask
- All Implemented Interfaces:
- Externalizable, Serializable, Runnable, ClusterTask
- Direct Known Subclasses:
- CancelSubscriptionTask, ModifySubscriptionTask, NewSubscriptionTask
public abstract class SubscriptionTask
- extends NodeTask
- See Also:
- Serialized Form
| Methods inherited from interface java.lang.Runnable |
run |
SubscriptionTask
public SubscriptionTask()
SubscriptionTask
public SubscriptionTask(NodeSubscription subscription)
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 interface Externalizable- Overrides:
writeExternal in class NodeTask
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable- Overrides:
readExternal in class NodeTask
- Throws:
IOException
ClassNotFoundException
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2003-2008 Jive Software.