| Package | Description |
|---|---|
| org.jivesoftware.openfire.pep |
Implementation of Personal Eventing via Pubsub (XEP-0163).
|
| org.jivesoftware.openfire.pubsub |
Implementation of Publish-Subscribe (XEP-0060).
|
| org.jivesoftware.openfire.pubsub.cluster | |
| org.jivesoftware.openfire.pubsub.models |
Defines policies that define who is allowed to subscribe and retrieve items or policies that
define who is allowed to publish items to nodes (XEP-0060).
|
| Modifier and Type | Method and Description |
|---|---|
Node |
PEPService.getNode(String nodeID) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Node> |
PEPService.getNodes() |
| Modifier and Type | Method and Description |
|---|---|
void |
PEPService.addNode(Node node) |
void |
PEPService.broadcast(Node node,
org.xmpp.packet.Message message,
Collection<org.xmpp.packet.JID> jids) |
void |
PEPService.presenceSubscriptionNotRequired(Node node,
org.xmpp.packet.JID user) |
void |
PEPService.presenceSubscriptionRequired(Node node,
org.xmpp.packet.JID user) |
void |
PEPService.sendNotification(Node node,
org.xmpp.packet.Message message,
org.xmpp.packet.JID recipientJID) |
| Modifier and Type | Class and Description |
|---|---|
class |
CollectionNode
A type of node that contains nodes and/or other collections but no published
items.
|
class |
LeafNode
A type of node that contains published items only.
|
| Modifier and Type | Field and Description |
|---|---|
Node |
PubSubEngine.CreateNodeResponse.newNode |
| Modifier and Type | Method and Description |
|---|---|
Node |
NodeSubscription.getNode()
Returns the node that holds this subscription.
|
Node |
NodeAffiliate.getNode() |
Node |
PubSubService.getNode(String nodeID)
Returns the
Node that matches the specified node ID or null if
none was found. |
Node |
PubSubModule.getNode(String nodeID) |
Node |
PubSubServiceInfo.getNode(String nodeID) |
| Modifier and Type | Method and Description |
|---|---|
List<Node> |
PubSubServiceInfo.getLeafNodes() |
Collection<Node> |
Node.getNodes()
Returns the list of nodes contained by this node.
|
Collection<Node> |
PubSubService.getNodes()
Retuns the collection of nodes hosted by the pubsub service.
|
Collection<Node> |
PubSubModule.getNodes() |
Collection<Node> |
CollectionNode.getNodes() |
Collection<Node> |
PubSubServiceInfo.getNodes() |
| Modifier and Type | Method and Description |
|---|---|
void |
PubSubService.addNode(Node node)
Adds an already persistent node to the service.
|
void |
PubSubModule.addNode(Node node) |
void |
PubSubService.broadcast(Node node,
org.xmpp.packet.Message message,
Collection<org.xmpp.packet.JID> jids)
Broadcasts the specified Message containing an event notification to a list
of subscribers to the specified node.
|
void |
PubSubModule.broadcast(Node node,
org.xmpp.packet.Message message,
Collection<org.xmpp.packet.JID> jids) |
static void |
PubSubPersistenceManager.createNode(Node node)
Creates and stores the node configuration in the database.
|
boolean |
Node.isChildNode(Node child)
Returns true if the specified node is a first-level children of this node.
|
boolean |
CollectionNode.isChildNode(Node child)
Returns true if the specified node is a first-level children of this collection
node.
|
boolean |
Node.isDescendantNode(Node child)
Returns true if the specified node is a direct child node of this node or
a descendant of the children nodes.
|
boolean |
CollectionNode.isDescendantNode(Node child)
Returns true if the specified node is a direct child node of this collection node or
a descendant of the children nodes.
|
static void |
PubSubPersistenceManager.loadSubscription(PubSubService service,
Node node,
String subId) |
void |
PubSubService.presenceSubscriptionNotRequired(Node node,
org.xmpp.packet.JID user)
Requests the pubsub service to unsubscribe from the presence of the user.
|
void |
PubSubModule.presenceSubscriptionNotRequired(Node node,
org.xmpp.packet.JID user) |
static void |
PubSubEngine.presenceSubscriptionNotRequired(PubSubService service,
Node node,
org.xmpp.packet.JID user)
Requests the pubsub service to subscribe to the presence of the user.
|
void |
PubSubService.presenceSubscriptionRequired(Node node,
org.xmpp.packet.JID user)
Requests the pubsub service to subscribe to the presence of the user.
|
void |
PubSubModule.presenceSubscriptionRequired(Node node,
org.xmpp.packet.JID user) |
static void |
PubSubEngine.presenceSubscriptionRequired(PubSubService service,
Node node,
org.xmpp.packet.JID user)
Requests the pubsub service to unsubscribe from the presence of the user.
|
static void |
PubSubPersistenceManager.removeAffiliation(Node node,
NodeAffiliate affiliate)
Removes the affiliation and subsription state of the user from the DB.
|
static boolean |
PubSubPersistenceManager.removeNode(Node node)
Removes the specified node from the DB.
|
static void |
PubSubPersistenceManager.saveAffiliation(Node node,
NodeAffiliate affiliate,
boolean create)
Update the DB with the new affiliation of the user in the node.
|
static void |
PubSubPersistenceManager.saveSubscription(Node node,
NodeSubscription subscription,
boolean create)
Updates the DB with the new subsription of the user to the node.
|
void |
PubSubService.sendNotification(Node node,
org.xmpp.packet.Message message,
org.xmpp.packet.JID jid)
Sends the specified Message containing an event notification to a specific
subscriber of the specified node.
|
void |
PubSubModule.sendNotification(Node node,
org.xmpp.packet.Message message,
org.xmpp.packet.JID jid) |
static void |
PubSubPersistenceManager.updateNode(Node node)
Updates the node configuration in the database.
|
| Constructor and Description |
|---|
CreateNodeResponse(org.xmpp.packet.PacketError.Condition creationStatus,
org.dom4j.Element pubsubError,
Node newNode) |
NodeAffiliate(Node node,
org.xmpp.packet.JID jid) |
NodeSubscription(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID jid,
NodeSubscription.State state,
String id)
Creates a new subscription of the specified user with the node.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
NodeChangeTask.getNode() |
Node |
NodeTask.getNode() |
| Constructor and Description |
|---|
AffiliationTask(Node node,
org.xmpp.packet.JID jid,
NodeAffiliate.Affiliation affiliation) |
NodeChangeTask(Node node) |
NodeTask(Node node) |
RefreshNodeTask(Node node) |
RemoveNodeTask(Node node) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
AccessModel.canAccessItems(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber)
Returns true if the entity is allowed to get the node published items.
|
boolean |
PresenceAccess.canAccessItems(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber) |
boolean |
RosterAccess.canAccessItems(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber) |
boolean |
AuthorizeAccess.canAccessItems(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber) |
boolean |
OpenAccess.canAccessItems(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber) |
boolean |
WhitelistAccess.canAccessItems(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber) |
boolean |
OnlyPublishers.canPublish(Node node,
org.xmpp.packet.JID entity) |
boolean |
OpenPublisher.canPublish(Node node,
org.xmpp.packet.JID entity) |
boolean |
OnlySubscribers.canPublish(Node node,
org.xmpp.packet.JID entity) |
abstract boolean |
PublisherModel.canPublish(Node node,
org.xmpp.packet.JID entity)
Returns true if the entity is allowed to publish items to the specified node.
|
abstract boolean |
AccessModel.canSubscribe(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber)
Returns true if the entity is allowed to subscribe to the specified node.
|
boolean |
PresenceAccess.canSubscribe(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber) |
boolean |
RosterAccess.canSubscribe(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber) |
boolean |
AuthorizeAccess.canSubscribe(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber) |
boolean |
OpenAccess.canSubscribe(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber) |
boolean |
WhitelistAccess.canSubscribe(Node node,
org.xmpp.packet.JID owner,
org.xmpp.packet.JID subscriber) |
Copyright © 2003–2019 Ignite Realtime. All rights reserved.