Smack

org.jivesoftware.smackx.pubsub.listener
Interface ItemEventListener<T extends Item>


public interface ItemEventListener<T extends Item>

Defines the listener for items being published to a node.

Author:
Robin Collier
See Also:
Node.addItemEventListener(ItemEventListener)

Method Summary
 void handlePublishedItems(ItemPublishEvent<T> items)
          Called whenever an item is published to the node the listener is registered with.
 

Method Detail

handlePublishedItems

void handlePublishedItems(ItemPublishEvent<T> items)
Called whenever an item is published to the node the listener is registered with.

Parameters:
items - The publishing details.

Smack

Copyright © 2003-2007 Jive Software.