|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jivesoftware.smackx.pubsub.NodeEvent org.jivesoftware.smackx.pubsub.SubscriptionEvent
public abstract class SubscriptionEvent
Base class to represents events that are associated to subscriptions.
Constructor Summary | |
---|---|
protected |
SubscriptionEvent(java.lang.String nodeId)
Construct an event with no subscription id's. |
protected |
SubscriptionEvent(java.lang.String nodeId,
java.util.List<java.lang.String> subscriptionIds)
Construct an event with multiple subscriptions. |
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getSubscriptions()
Get the subscriptions this event is associated with. |
protected void |
setSubscriptions(java.util.List<java.lang.String> subscriptionIds)
Set the list of subscription id's for this event. |
Methods inherited from class org.jivesoftware.smackx.pubsub.NodeEvent |
---|
getNodeId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SubscriptionEvent(java.lang.String nodeId)
nodeId
- The id of the node the event came fromprotected SubscriptionEvent(java.lang.String nodeId, java.util.List<java.lang.String> subscriptionIds)
nodeId
- The id of the node the event came fromsubscriptionIds
- The list of subscription id'sMethod Detail |
---|
public java.util.List<java.lang.String> getSubscriptions()
protected void setSubscriptions(java.util.List<java.lang.String> subscriptionIds)
subscriptionIds
- The list of subscription id's
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |