Package org.jivesoftware.smackx

Examples of org.jivesoftware.smackx.OfflineMessageManager


    public MainWindow(final XMPPConnection xmppconnection, LoginWindow loginwindow) {
        this.xmppconnection = xmppconnection;
        this.loginwindow = loginwindow;
        contacts = new Contacts();
      
        OfflineMessageManager offlineMgr = new OfflineMessageManager(xmppconnection);
        try {
            Iterator<Message> it = offlineMgr.getMessages();
            while(it.hasNext()){
                System.out.println("Offline Message: " + it.next().getBody());
            }

        } catch (XMPPException ex) {
View Full Code Here

TOP

Related Classes of org.jivesoftware.smackx.OfflineMessageManager

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.