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).
|
Modifier and Type | Method and Description |
---|---|
void |
PEPManager.publish(Item item,
String node)
Publish an event.
|
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)
Deprecated.
use
LeafNode.publish(Collection) instead. |
<T extends Item> |
LeafNode.send(T item)
Deprecated.
use
LeafNode.publish(Item) instead. |
<I extends Item> |
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.
|
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) |