Package org.jdesktop.wonderland.modules.presencemanager.client

Examples of org.jdesktop.wonderland.modules.presencemanager.client.PresenceManager


        caller = message.getCaller();

        callerText.setText(caller.getUsernameAlias());

        PresenceManager pm = PresenceManagerFactory.getPresenceManager(session);

        myPresenceInfo = pm.getPresenceInfo(cellID);

  privacyDescription.setText(VoiceChatMessage.PRIVATE_DESCRIPTION);
    }
View Full Code Here


         * so create a thread which will wait untill presence manager finish loadind.
         */
        new Thread(new Runnable() {

            public void run() {
                PresenceManager manager = PresenceManagerFactory.getPresenceManager(session.getPrimarySession());
                Cell cell = ClientContextJME.getViewManager().getPrimaryViewCell();
                PresenceInfo localPresenceInfo = manager.getPresenceInfo(cell.getCellID());
                while(localPresenceInfo==null) {
                    manager = PresenceManagerFactory.getPresenceManager(session.getPrimarySession());
                    cell = ClientContextJME.getViewManager().getPrimaryViewCell();
                    localPresenceInfo = manager.getPresenceInfo(cell.getCellID());
                }
                LOGGER.warning("Presence manager is loaded.");
                WonderlandUserList.INSTANCE.initialize();
                UserListPresenterManager.INSTANCE.intialize();
                UserListPresenterManager.INSTANCE.showActivePresenter();
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.presencemanager.client.PresenceManager

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.