Package org.apache.vysper.xmpp.protocol

Examples of org.apache.vysper.xmpp.protocol.NamespaceHandlerDictionary


        return infoElements;
    }

    @Override
    protected void addHandlerDictionaries(List<HandlerDictionary> dictionary) {
        dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.JABBER_IQ_VERSION, new SoftwareVersionIQHandler()));
    }
View Full Code Here


     */
    @Override
    protected void addHandlerDictionaries(List<HandlerDictionary> dictionary) {
        addPubsubHandlers(dictionary);
        addPubsubOwnerHandlers(dictionary);
        dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.XEP0060_PUBSUB_EVENT, new MessageHandler()));
    }
View Full Code Here

     */
    private void addPubsubOwnerHandlers(List<HandlerDictionary> dictionary) {
        ArrayList<StanzaHandler> pubsubOwnerHandlers = new ArrayList<StanzaHandler>();
        pubsubOwnerHandlers.add(new PubSubOwnerConfigureNodeHandler(serviceConfiguration));
        pubsubOwnerHandlers.add(new PubSubOwnerDeleteNodeHandler(serviceConfiguration));
        dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.XEP0060_PUBSUB_OWNER, pubsubOwnerHandlers));
    }
View Full Code Here

        pubsubHandlers.add(new PubSubUnsubscribeHandler(serviceConfiguration));
        pubsubHandlers.add(new PubSubPublishHandler(serviceConfiguration));
        pubsubHandlers.add(new PubSubCreateNodeHandler(serviceConfiguration));
        pubsubHandlers.add(new PubSubRetrieveSubscriptionsHandler(serviceConfiguration));
        pubsubHandlers.add(new PubSubRetrieveAffiliationsHandler(serviceConfiguration));
        dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.XEP0060_PUBSUB, pubsubHandlers));
    }
View Full Code Here

        return infoElements;
    }

    @Override
    protected void addHandlerDictionaries(List<HandlerDictionary> dictionary) {
        dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.URN_XMPP_PING, new XmppPingIQHandler()));
    }
View Full Code Here

    }
   
    @Override
    protected void addHandlerDictionaries(List<HandlerDictionary> dictionary) {
        iqHandler = new PrivateDataIQHandler();
        dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.PRIVATE_DATA, iqHandler));
    }
View Full Code Here

    }

    @Override
    protected void addHandlerDictionaries(List<HandlerDictionary> dictionary) {
        iqHandler = new VcardTempIQHandler();
        dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.VCARD_TEMP, iqHandler));
    }
View Full Code Here

        return infoElements;
    }

    @Override
    protected void addHandlerDictionaries(List<HandlerDictionary> dictionary) {
        dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.URN_XMPP_TIME, new EntityTimeIQHandler()));
        // backward compatibility to XEP-0090
        if (supportXEP0090) dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.JABBER_IQ_TIME, new EntityTimeXEP0090IQHandler()));
    }
View Full Code Here

        return infoElements;
    }

    @Override
    protected void addHandlerDictionaries(List<HandlerDictionary> dictionary) {
        dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.URN_XMPP_PING, new XmppPingIQHandler()));
    }
View Full Code Here

    }

    @Override
    protected void addHandlerDictionaries(List<HandlerDictionary> dictionary) {
        iqHandler = new PrivateDataIQHandler();
        dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.PRIVATE_DATA, iqHandler));
    }
View Full Code Here

TOP

Related Classes of org.apache.vysper.xmpp.protocol.NamespaceHandlerDictionary

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.