Class PepManager


  • public final class PepManager
    extends Manager
    Manages Personal Event Publishing (XEP-163). A PEPManager provides a high level access to PubSub personal events. It also provides an easy way to hook up custom logic when events are received from another XMPP client through PEPListeners. Use example:
       PepManager pepManager = PepManager.getInstanceFor(smackConnection);
       pepManager.addPepListener(new PepListener() {
           public void eventReceived(EntityBareJid from, EventElement event, Message message) {
               LOGGER.debug("Event received: " + event);
           }
       });