| 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 |
| Modifier and Type | Class and Description |
|---|---|
class |
PEPService
A PEPService is a
PubSubService for use with XEP-0163: "Personal Eventing via
Pubsub" Version 1.0
Note: Although this class implements Cacheable, instances should only be
cached in caches that have time-based (as opposed to size-based) eviction policies. |
| Modifier and Type | Class and Description |
|---|---|
class |
PubSubModule
Module that implements JEP-60: Publish-Subscribe.
|
| Modifier and Type | Field and Description |
|---|---|
protected PubSubService |
Node.service
Reference to the publish and subscribe service.
|
| Modifier and Type | Method and Description |
|---|---|
PubSubService |
Node.getService()
Returns the
PubSubService to which this node belongs. |
| Modifier and Type | Method and Description |
|---|---|
static void |
PubSubPersistenceManager.createDefaultConfiguration(PubSubService service,
DefaultNodeConfiguration config)
Creates a new default node configuration for the specified service.
|
static PubSubEngine.CreateNodeResponse |
PubSubEngine.createNodeHelper(PubSubService service,
org.xmpp.packet.JID requester,
org.dom4j.Element configuration,
String nodeID,
org.xmpp.forms.DataForm publishOptions)
Checks if the following conditions are satisfied and creates a node
- Requester can create nodes
- Instant node creation is enabled
- Node does not already exist
- New node configuration is valid
NOTE 1: This method should not reply to the client NOTE 2: This method calls UserManager::isRegisteredUser(JID) which can block waiting for a response - so do not call this method in the same thread in which a response might arrive |
static Collection<String> |
PubSubEngine.getShowPresences(PubSubService service,
org.xmpp.packet.JID subscriber)
Returns the show values of the last know presence of all connected resources of the
specified subscriber.
|
static DefaultNodeConfiguration |
PubSubPersistenceManager.loadDefaultConfiguration(PubSubService service,
boolean isLeafType)
Loads from the database the default node configuration for the specified node type
and pubsub service.
|
static void |
PubSubPersistenceManager.loadNode(PubSubService service,
String nodeId)
Loads a node from the database and adds them to the PubSub service.
|
static void |
PubSubPersistenceManager.loadNodes(PubSubService service)
Loads all nodes from the database and adds them to the PubSub service.
|
static void |
PubSubPersistenceManager.loadSubscription(PubSubService service,
Node node,
String subId) |
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.
|
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.
|
Future |
PubSubEngine.process(PubSubService service,
org.xmpp.packet.IQ iq)
Handles IQ packets sent to the pubsub service.
|
void |
PubSubEngine.process(PubSubService service,
org.xmpp.packet.Message message)
Handles Message packets sent to the pubsub service.
|
void |
PubSubEngine.process(PubSubService service,
org.xmpp.packet.Presence presence)
Handles Presence packets sent to the pubsub service.
|
void |
PubSubEngine.shutdown(PubSubService service) |
void |
PubSubEngine.start(PubSubService service) |
static void |
PubSubPersistenceManager.updateDefaultConfiguration(PubSubService service,
DefaultNodeConfiguration config)
Updates the default node configuration for the specified service.
|
| Constructor and Description |
|---|
CollectionNode(PubSubService service,
CollectionNode parentNode,
String nodeID,
org.xmpp.packet.JID creator) |
LeafNode(PubSubService service,
CollectionNode parentNode,
String nodeID,
org.xmpp.packet.JID creator) |
PendingSubscriptionsCommand(PubSubService service) |
PubSubServiceInfo(PubSubService pubSubService) |
| Modifier and Type | Method and Description |
|---|---|
PubSubService |
NodeTask.getService() |
Copyright © 2003–2019 Ignite Realtime. All rights reserved.