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.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


    }

    @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.JABBER_IQ_VERSION, new SoftwareVersionIQHandler()));
    }
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.JABBER_IQ_VERSION, new SoftwareVersionIQHandler()));
    }
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 AdhocCommandIQHandler(Collections.unmodifiableCollection(adhocCommandSupporters));
        dictionary.add(new NamespaceHandlerDictionary(NamespaceURIs.XEP0050_ADHOC_COMMANDS, iqHandler));
    }
View Full Code Here

        ComponentStanzaProcessor processor = new ComponentStanzaProcessor(serverRuntimeContext);
        addPubsubHandlers(processor);
        addPubsubOwnerHandlers(processor);
        processor
                .addDictionary(new NamespaceHandlerDictionary(NamespaceURIs.XEP0060_PUBSUB_EVENT, new MessageHandler()));
        stanzaProcessor = processor;

        this.serviceConfiguration.setDomainJID(fullDomain);
        this.serviceConfiguration.initialize();
    }
View Full Code Here

    private void addPubsubOwnerHandlers(ComponentStanzaProcessor dictionary) {
        ArrayList<StanzaHandler> pubsubOwnerHandlers = new ArrayList<StanzaHandler>();
        pubsubOwnerHandlers.add(new PubSubOwnerConfigureNodeHandler(serviceConfiguration));
        pubsubOwnerHandlers.add(new PubSubOwnerDeleteNodeHandler(serviceConfiguration));
        dictionary
                .addDictionary(new NamespaceHandlerDictionary(NamespaceURIs.XEP0060_PUBSUB_OWNER, pubsubOwnerHandlers));
    }
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.