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.
|
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.loadNode(PubSubService service,
Node.UniqueIdentifier nodeIdentifier) |
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.loadNodes(PubSubService service) |
Loads all nodes from the database and adds them to the PubSub service.
|
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) |
|