Package org.jdesktop.wonderland.client.comms

Examples of org.jdesktop.wonderland.client.comms.WonderlandSession


    public void serverStarted(DarkstarRunner runner, ServerSessionManager mgr) {
        // When a darkstar server starts up, open a connection to it, and
        // start a specific connection that sends messages when the configuration
        // of xapps has changed.
        try {
            WonderlandSession session = mgr.createSession();
            context.setAttribute(SESSION_ATTR, session);

            XAppsWebConfigConnection conn = new XAppsWebConfigConnection();
            session.connect(conn);
            context.setAttribute(XAPPS_CONN_ATTR, conn);
        } catch (ConnectionFailureException ex) {
            logger.log(Level.SEVERE, "Connection failed", ex);
        } catch (LoginFailureException ex) {
            logger.log(Level.WARNING, "Login failed", ex);
View Full Code Here


       
        try {
            // find the classloader associated with the server session
            // manager that loaded this cell.  That classloader will
            // have all the module classes
            WonderlandSession session = cell.getCellCache().getSession();
            ServerSessionManager ssm = session.getSessionManager();
            ClassLoader cl = ssm.getClassloader();

            // us the classloader we found to load the component class
            Class compClazz = cl.loadClass(compClassname);
View Full Code Here

        }

        // find the classloader associated with the server session
        // manager that loaded this cell.  That classloader will
        // have all the module classes
        WonderlandSession session = cell.getCellCache().getSession();
        ServerSessionManager ssm = session.getSessionManager();
        ClassLoader cl = ssm.getClassloader();

        // Find the class associated with the client component and remove it
        try {
            // us the classloader we found to load the component class
View Full Code Here

        AudioManagerClientPlugin.getClient().toggleMute();
    }
   
    private void handlePhoneButtonPressed(ActionEvent e) {
        AudioManagerClient client = AudioManagerClientPlugin.getClient();
        WonderlandSession session = model.getSession();
       
        PresenceInfo mine = (PresenceInfo)model.getLocalPresenceInfo().clone();
        PresenceInfo caller = (PresenceInfo)model.getLocalPresenceInfo().clone();
       
        AddHUDPanel addHUDPanel = new AddHUDPanel(client,
View Full Code Here

        // register with the admininstration page
        AdminRegistration.unregister(ar, context);

        // log out of any connected sessions
        WonderlandSession session = (WonderlandSession)context.getAttribute(SESSION_ATTR);
        if (session != null) {
            session.logout();
        }
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.comms.WonderlandSession

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.