Package org.jivesoftware.smack.provider

Examples of org.jivesoftware.smack.provider.ProviderManager


     * attempt a Jingle connection to us after we've created a Connection, but before we've
     * setup an instance of a JingleManager.  We will appear to not support Jingle.  With the new
     * method you just call it once and all new connections will report Jingle support.)
     */
    public static void setJingleServiceEnabled() {
        ProviderManager providerManager = ProviderManager.getInstance();
        providerManager.addIQProvider("jingle", "urn:xmpp:tmp:jingle", new JingleProvider());

        // Enable the Jingle support on every established connection
        // The ServiceDiscoveryManager class should have been already
        // initialized
        Connection.addConnectionCreationListener(new ConnectionCreationListener() {
View Full Code Here

TOP

Related Classes of org.jivesoftware.smack.provider.ProviderManager

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.