|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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(String nodeId)
Construct an event with no subscription id's. |
protected |
SubscriptionEvent(String nodeId,
List<String> subscriptionIds)
Construct an event with multiple subscriptions. |
| Method Summary | |
|---|---|
List<String> |
getSubscriptions()
Get the subscriptions this event is associated with. |
protected void |
setSubscriptions(List<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(String nodeId)
nodeId - The id of the node the event came from
protected SubscriptionEvent(String nodeId,
List<String> subscriptionIds)
nodeId - The id of the node the event came fromsubscriptionIds - The list of subscription id's| Method Detail |
|---|
public List<String> getSubscriptions()
protected void setSubscriptions(List<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 | ||||||||