Package org.olat.instantMessaging

Examples of org.olat.instantMessaging.XMPPConnListener


      if (client.isConnected() && connection.isAuthenticated()) {
        im.getClientManager().addMessageListener(client.getUsername());
        im.getClientManager().addPresenceListener(client.getUsername());
        client.addSubscriptionListener();
       
        connection.addConnectionListener(new XMPPConnListener(client));
        client.setRoster(connection.getRoster());
        // subscription accept all = 0
        client.getRoster().setSubscriptionMode(SubscriptionMode.accept_all);
       
        String defaultStatus = client.getDefaultRosterStatus();
View Full Code Here

TOP

Related Classes of org.olat.instantMessaging.XMPPConnListener

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.