Package org.jivesoftware.smackx.pubsub.listener

Examples of org.jivesoftware.smackx.pubsub.listener.NodeConfigListener


    // Setup event receiver
    PubSubManager subMgr = new PubSubManager(getConnection(1), getService());
    LeafNode subNode = (LeafNode)subMgr.getNode(nodeId);

    NodeConfigListener sub1Handler = new NodeConfigCoordinator(queue, "sub1");
    subNode.subscribe(getConnection(1).getUser());
    subNode.addConfigurationListener(sub1Handler);
   
    ConfigureForm currentConfig = creatorNode.getNodeConfiguration();
    ConfigureForm form = new ConfigureForm(currentConfig.createAnswerForm());
View Full Code Here


    // Setup event receiver
    PubSubManager subMgr = new PubSubManager(getConnection(1), getService());
    LeafNode subNode = (LeafNode)subMgr.getNode(nodeId);

    NodeConfigListener sub1Handler = new NodeConfigCoordinator(queue, "sub1");
    subNode.subscribe(getConnection(1).getUser());
    subNode.addConfigurationListener(sub1Handler);
   
    ConfigureForm currentConfig = creatorNode.getNodeConfiguration();
    ConfigureForm form = new ConfigureForm(currentConfig.createAnswerForm());
View Full Code Here

TOP

Related Classes of org.jivesoftware.smackx.pubsub.listener.NodeConfigListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.