Package org.jivesoftware.openfire.pubsub
Interface PubSubListener
- All Known Implementing Classes:
UserAvatarToVCardConvertor
public interface PubSubListener
Interface to listen for Pub/Sub changes. Use the
PubSubEventDispatcher.addListener(PubSubListener)
method to register for events.- Author:
- Guus der Kinderen, guus@goodbytes.nl
-
Method Summary
Modifier and TypeMethodDescriptionvoiditemsDeleted(Node.UniqueIdentifier nodeId, Collection<PublishedItem> items) One or more items were deleted from a node.voiditemsPublished(Node.UniqueIdentifier nodeId, Collection<PublishedItem> items) One or more items were published on a node.
-
Method Details
-
itemsPublished
void itemsPublished(@Nonnull Node.UniqueIdentifier nodeId, @Nonnull Collection<PublishedItem> items) One or more items were published on a node. All items are published on the same node.- Parameters:
nodeId- the identifier of the node on which the items were published.items- the published items.
-
itemsDeleted
One or more items were deleted from a node. All items are deleted from the same node.- Parameters:
nodeId- the identifier of the node on which the items were published.items- the deleted items.
-