Uses of Interface
org.jivesoftware.openfire.pubsub.PubSubService
Packages that use PubSubService
Package
Description
Implementation of Personal Eventing via Pubsub (XEP-0163).
Implementation of Publish-Subscribe (XEP-0060).
-
Uses of PubSubService in org.jivesoftware.openfire.pep
Classes in org.jivesoftware.openfire.pep that implement PubSubServiceModifier and TypeClassDescriptionclassA PEPService is aPubSubServicefor use with XEP-0163: "Personal Eventing via Pubsub" Version 1.0 Note: Although this class implementsCacheable, instances should only be cached in caches that have time-based (as opposed to size-based) eviction policies. -
Uses of PubSubService in org.jivesoftware.openfire.pubsub
Classes in org.jivesoftware.openfire.pubsub that implement PubSubServiceModifier and TypeClassDescriptionclassModule that implements XEP-60: Publish-Subscribe.Methods in org.jivesoftware.openfire.pubsub that return PubSubServiceModifier and TypeMethodDescriptionNode.getService()Returns thePubSubServiceto which this node belongs.Methods in org.jivesoftware.openfire.pubsub with parameters of type PubSubServiceModifier and TypeMethodDescriptionPubSubEngine.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 arrivestatic 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.voidCachingPubsubPersistenceProvider.loadNode(PubSubService service, Node.UniqueIdentifier nodeIdentifier) voidDefaultPubSubPersistenceProvider.loadNode(PubSubService service, Node.UniqueIdentifier nodeIdentifier) voidInMemoryPubSubPersistenceProvider.loadNode(PubSubService service, Node.UniqueIdentifier nodeIdentifier) voidPubSubPersistenceProvider.loadNode(PubSubService service, Node.UniqueIdentifier nodeIdentifier) Loads all nodes from the database and adds them to the PubSub service.voidCachingPubsubPersistenceProvider.loadNodes(PubSubService service) voidDefaultPubSubPersistenceProvider.loadNodes(PubSubService service) voidInMemoryPubSubPersistenceProvider.loadNodes(PubSubService service) voidPubSubPersistenceProvider.loadNodes(PubSubService service) Loads all nodes from the database and adds them to the PubSub service.static voidPubSubEngine.presenceSubscriptionNotRequired(PubSubService service, Node node, org.xmpp.packet.JID user) Requests the pubsub service to subscribe to the presence of the user.static voidPubSubEngine.presenceSubscriptionRequired(PubSubService service, Node node, org.xmpp.packet.JID user) Requests the pubsub service to unsubscribe from the presence of the user.PubSubEngine.process(PubSubService service, org.xmpp.packet.IQ iq) Handles IQ packets sent to the pubsub service.voidPubSubEngine.process(PubSubService service, org.xmpp.packet.Message message) Handles Message packets sent to the pubsub service.voidPubSubEngine.process(PubSubService service, org.xmpp.packet.Presence presence) Handles Presence packets sent to the pubsub service.voidPubSubEngine.shutdown(PubSubService service) voidPubSubEngine.start(PubSubService service) Constructors in org.jivesoftware.openfire.pubsub with parameters of type PubSubServiceModifierConstructorDescriptionPendingSubscriptionsCommand(PubSubService service) PubSubServiceInfo(PubSubService pubSubService) -
Uses of PubSubService in org.jivesoftware.openfire.pubsub.cluster
Methods in org.jivesoftware.openfire.pubsub.cluster that return types with arguments of type PubSubServiceModifier and TypeMethodDescriptionNodeTask.getServiceIfLoaded()Finds the pubsub service for the pubsub node that is the subject of this task.