Package | Description |
---|---|
org.jivesoftware.smackx.pubsub | |
org.jivesoftware.smackx.pubsub.listener | |
org.jivesoftware.smackx.pubsub.provider |
Modifier and Type | Class and 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.
|
Modifier and Type | Class and Description |
---|---|
class |
PayloadItem<E extends ExtensionElement>
This class represents an item that has been, or will be published to a
pubsub node.
|
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<ItemEventListener<Item>,StanzaListener> |
Node.itemEventToListenerMap |
Modifier and Type | Method and Description |
---|---|
<T extends Item> |
LeafNode.getItems()
Get the current items stored in the node.
|
<T extends Item> |
LeafNode.getItems(Collection<String> ids)
Get the items specified from the node.
|
<T extends Item> |
LeafNode.getItems(int maxItems)
Get items persisted on the node, limited to the specified number.
|
<T extends Item> |
LeafNode.getItems(int maxItems,
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> |
LeafNode.getItems(List<ExtensionElement> additionalExtensions,
List<ExtensionElement> returnedExtensions)
Get items persisted on the node.
|
<T extends Item> |
LeafNode.getItems(String subscriptionId)
Get the current items stored in the node based
on the subscription associated with the provided
subscription id.
|
<T extends Item> |
LeafNode.publish(Collection<T> items)
Publishes multiple events to the node.
|
<T extends Item> |
LeafNode.publish(T item)
Publishes an event to the node.
|
<T extends Item> |
LeafNode.send(Collection<T> items)
Publishes multiple events to the node.
|
<T extends Item> |
LeafNode.send(T item)
Publishes an event to the node.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ItemEventListener<T extends Item>
Defines the listener for items being published to a node.
|
Modifier and Type | Method and Description |
---|---|
Item |
ItemProvider.parse(org.xmlpull.v1.XmlPullParser parser,
int initialDepth) |