Uses of Class
org.jivesoftware.smackx.pubsub.Item
-
Packages that use Item Package Description org.jivesoftware.smackx.pep Smacks implementation XEP-0163: Personal Eventing Protocol.org.jivesoftware.smackx.pubsub Smack's API for XEP-0060: Publish-Subscribe.org.jivesoftware.smackx.pubsub.listener Listeners for Publish-Subscribe (XEP-60) events.org.jivesoftware.smackx.pubsub.provider Providers for Publish-Subscribe (XEP-60). -
-
Uses of Item in org.jivesoftware.smackx.pep
Methods in org.jivesoftware.smackx.pep with parameters of type Item Modifier and Type Method Description LeafNode
PepManager. publish(java.lang.String nodeId, Item item)
Publish an event. -
Uses of Item in org.jivesoftware.smackx.pubsub
Classes in org.jivesoftware.smackx.pubsub with type parameters of type Item Modifier and Type Class Description class
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.Subclasses of Item in org.jivesoftware.smackx.pubsub Modifier and Type Class Description class
PayloadItem<E extends ExtensionElement>
This class represents an item that has been, or will be published to a pubsub node.Fields in org.jivesoftware.smackx.pubsub with type parameters of type Item Modifier and Type Field Description protected java.util.concurrent.ConcurrentHashMap<ItemEventListener<Item>,StanzaListener>
Node. itemEventToListenerMap
Methods in org.jivesoftware.smackx.pubsub with type parameters of type Item Modifier and Type Method Description <T extends Item>
java.util.List<T>LeafNode. getItems()
Get the current items stored in the node.<T extends Item>
java.util.List<T>LeafNode. getItems(int maxItems)
Get items persisted on the node, limited to the specified number.<T extends Item>
java.util.List<T>LeafNode. getItems(int maxItems, java.lang.String subscriptionId)
Get items persisted on the node, limited to the specified number based on the subscription associated with the provided subscriptionId.<T extends Item>
java.util.List<T>LeafNode. getItems(java.lang.String subscriptionId)
Get the current items stored in the node based on the subscription associated with the provided subscription id.<T extends Item>
java.util.List<T>LeafNode. getItems(java.util.Collection<java.lang.String> ids)
Get the items specified from the node.<T extends Item>
java.util.List<T>LeafNode. getItems(java.util.List<ExtensionElement> additionalExtensions, java.util.List<ExtensionElement> returnedExtensions)
Get items persisted on the node.<T extends Item>
voidLeafNode. publish(java.util.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(java.util.Collection<T> items)
Deprecated.useLeafNode.publish(Collection)
instead.<T extends Item>
voidLeafNode. send(T item)
Deprecated.useLeafNode.publish(Item)
instead.<I extends Item>
LeafNodePubSubManager. tryToPublishAndPossibleAutoCreate(java.lang.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
Classes in org.jivesoftware.smackx.pubsub.listener with type parameters of type Item Modifier and Type Interface Description interface
ItemEventListener<T extends Item>
Defines the listener for items being published to a node. -
Uses of Item in org.jivesoftware.smackx.pubsub.provider
Methods in org.jivesoftware.smackx.pubsub.provider that return Item Modifier and Type Method Description Item
ItemProvider. parse(XmlPullParser parser, int initialDepth, XmlEnvironment xmlEnvironment)
-