Uses of Class
org.jivesoftware.smackx.pubsub.Item
Package
Description
Smacks implementation XEP-0163: Personal Eventing Protocol.
Smack's API for XEP-0060: Publish-Subscribe.
Listeners for Publish-Subscribe (XEP-60) events.
Providers for Publish-Subscribe (XEP-60).
-
Uses of Item in org.jivesoftware.smackx.pep
-
Uses of Item in org.jivesoftware.smackx.pubsub
Modifier and TypeClassDescriptionclass
ItemPublishEvent<T extends Item>
Represents an event generated by an item(s) being published to a node.class
PublishItem<T extends Item>
Represents a request to publish an item(s) to a specific node.Modifier and TypeClassDescriptionclass
PayloadItem<E extends XmlElement>
This class represents an item that has been, or will be published to a pubsub node.Modifier and TypeFieldDescriptionprotected ConcurrentHashMap<ItemEventListener<Item>,
StanzaListener> Modifier and TypeMethodDescriptionLeafNode.getItems()
Get the current items stored in the node.LeafNode.getItems
(int maxItems) Get items persisted on the node, limited to the specified number.Get items persisted on the node, limited to the specified number based on the subscription associated with the provided subscriptionId.Get the current items stored in the node based on the subscription associated with the provided subscription id.LeafNode.getItems
(Collection<String> ids) Get the items specified from the node.LeafNode.getItems
(List<XmlElement> additionalExtensions, List<XmlElement> returnedExtensions) Get items persisted on the node.<T extends Item>
voidLeafNode.publish
(Collection<T> items) Publishes multiple events to the node.<T extends Item>
voidLeafNode.publish
(T item) Publishes an event to the node.<T extends Item>
voidLeafNode.send
(Collection<T> items) Deprecated.<T extends Item>
voidLeafNode.send
(T item) Deprecated.useLeafNode.publish(Item)
instead.PubSubManager.tryToPublishAndPossibleAutoCreate
(String id, I item) Try to publish an item and, if the node with the given ID does not exists, auto-create the node. -
Uses of Item in org.jivesoftware.smackx.pubsub.listener
Modifier and TypeInterfaceDescriptioninterface
ItemEventListener<T extends Item>
Defines the listener for items being published to a node. -
Uses of Item in org.jivesoftware.smackx.pubsub.provider
Modifier and TypeMethodDescriptionItemProvider.parse
(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
LeafNode.publish(Collection)
instead.