| 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 | Method and Description |
|---|---|
PubSubService |
Node.getService()
Returns the
PubSubService to which this node belongs. |
| Modifier and Type | Method and Description |
|---|---|
void |
PubSubPersistenceProvider.createDefaultConfiguration(PubSubService service,
DefaultNodeConfiguration config)
Creates a new default node configuration for the specified service.
|
void |
CachingPubsubPersistenceProvider.createDefaultConfiguration(PubSubService service,
DefaultNodeConfiguration config) |
void |
DefaultPubSubPersistenceProvider.createDefaultConfiguration(PubSubService service,
DefaultNodeConfiguration config) |
void |
InMemoryPubSubPersistenceProvider.createDefaultConfiguration(PubSubService service,
DefaultNodeConfiguration config) |
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.
|
DefaultNodeConfiguration |
PubSubPersistenceProvider.loadDefaultConfiguration(PubSubService service,
boolean isLeafType)
Loads from the database the default node configuration for the specified node type
and pubsub service.
|
DefaultNodeConfiguration |
CachingPubsubPersistenceProvider.loadDefaultConfiguration(PubSubService service,
boolean isLeafType) |
DefaultNodeConfiguration |
DefaultPubSubPersistenceProvider.loadDefaultConfiguration(PubSubService service,
boolean isLeafType) |
DefaultNodeConfiguration |
InMemoryPubSubPersistenceProvider.loadDefaultConfiguration(PubSubService service,
boolean isLeafType) |
void |
PubSubPersistenceProvider.loadNode(PubSubService service,
Node.UniqueIdentifier nodeIdentifier)
Loads all nodes from the database and adds them to the PubSub service.
|
void |
CachingPubsubPersistenceProvider.loadNode(PubSubService service,
Node.UniqueIdentifier nodeIdentifier) |
void |
DefaultPubSubPersistenceProvider.loadNode(PubSubService service,
Node.UniqueIdentifier nodeIdentifier) |
void |
InMemoryPubSubPersistenceProvider.loadNode(PubSubService service,
Node.UniqueIdentifier nodeIdentifier) |
void |
PubSubPersistenceProvider.loadNodes(PubSubService service)
Loads all nodes from the database and adds them to the PubSub service.
|
void |
CachingPubsubPersistenceProvider.loadNodes(PubSubService service) |
void |
DefaultPubSubPersistenceProvider.loadNodes(PubSubService service) |
void |
InMemoryPubSubPersistenceProvider.loadNodes(PubSubService service) |
void |
PubSubPersistenceProvider.loadSubscription(PubSubService service,
Node node,
String subId) |
void |
CachingPubsubPersistenceProvider.loadSubscription(PubSubService service,
Node node,
String subId) |
void |
DefaultPubSubPersistenceProvider.loadSubscription(PubSubService service,
Node node,
String subId) |
void |
InMemoryPubSubPersistenceProvider.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) |
void |
PubSubPersistenceProvider.updateDefaultConfiguration(PubSubService service,
DefaultNodeConfiguration config)
Updates the default node configuration for the specified service.
|
void |
CachingPubsubPersistenceProvider.updateDefaultConfiguration(PubSubService service,
DefaultNodeConfiguration config) |
void |
DefaultPubSubPersistenceProvider.updateDefaultConfiguration(PubSubService service,
DefaultNodeConfiguration config) |
void |
InMemoryPubSubPersistenceProvider.updateDefaultConfiguration(PubSubService service,
DefaultNodeConfiguration config) |
| Constructor and Description |
|---|
PendingSubscriptionsCommand(PubSubService service) |
PubSubServiceInfo(PubSubService pubSubService) |
| Modifier and Type | Method and Description |
|---|---|
PubSubService |
NodeTask.getService() |
Copyright © 2003–2020 Ignite Realtime. All rights reserved.