| Package | Description |
|---|---|
| org.jivesoftware.openfire.pubsub |
Implementation of Publish-Subscribe (XEP-0060).
|
| org.jivesoftware.openfire.pubsub.cluster |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,NodeSubscription> |
Node.subscriptionsByID
Map that contains the current subscriptions to the node.
|
protected Map<String,NodeSubscription> |
Node.subscriptionsByJID
Map that contains the current subscriptions to the node.
|
| Modifier and Type | Method and Description |
|---|---|
NodeSubscription |
Node.getSubscription(org.xmpp.packet.JID subscriberJID)
Returns the subscription whose subscription JID matches the specified JID or
null
if none was found. |
NodeSubscription |
Node.getSubscription(String subscriptionID)
Returns the subscription whose subscription ID matches the specified ID or
null
if none was found. |
| Modifier and Type | Method and Description |
|---|---|
Collection<NodeSubscription> |
Node.getAllSubscriptions()
Returns all subscriptions to the node.
|
Collection<NodeSubscription> |
Node.getPendingSubscriptions()
Returns a list with the subscriptions to the node that are pending to be approved by
a node owner.
|
Collection<NodeSubscription> |
NodeAffiliate.getSubscriptions()
Returns the list of subscriptions of the affiliate in the node.
|
Collection<NodeSubscription> |
Node.getSubscriptions(org.xmpp.packet.JID owner)
Returns the list of subscriptions owned by the specified user.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Node.addSubscription(NodeSubscription subscription) |
void |
Node.approveSubscription(NodeSubscription subscription,
boolean approved)
Approves or cancels a subscriptions that was pending to be approved by a node owner.
|
void |
Node.cancelSubscription(NodeSubscription subscription)
Cancels an existing subscription to the node.
|
void |
Node.cancelSubscription(NodeSubscription subscription,
boolean sendToCluster)
Cancels an existing subscription to the node.
|
static void |
PubSubPersistenceManager.removeSubscription(NodeSubscription subscription)
Removes the subscription of the user from the DB.
|
static void |
PubSubPersistenceManager.saveSubscription(Node node,
NodeSubscription subscription,
boolean create)
Updates the DB with the new subsription of the user to the node.
|
| Modifier and Type | Method and Description |
|---|---|
NodeSubscription |
SubscriptionTask.getSubscription() |
| Constructor and Description |
|---|
CancelSubscriptionTask(NodeSubscription subscription) |
ModifySubscriptionTask(NodeSubscription subscription) |
NewSubscriptionTask(NodeSubscription subscription) |
SubscriptionTask(NodeSubscription subscription) |
Copyright © 2003–2020 Ignite Realtime. All rights reserved.