Package org.jdesktop.wonderland.modules.xremwin.client

Examples of org.jdesktop.wonderland.modules.xremwin.client.AppXrwMaster


    /**
     * {@inheritDoc}
     */
    public String launch (String appName, String command, SasProviderConnection connection,
                          MessageID launchMessageID, CellID cellID) {
        AppXrwMaster app = null;
       
        // resolve the command based on the app name. A command value of null
        // indicates that the given appName could not be resolved
        command = resolveCommand(appName, command);
        if (command == null) {
            return null;
        }
        logger.warning("Resolved command = " + command);

        try {
            app = new AppXrwMaster(appName, command, cellID, null,
                                   ProcessReporterFactory.getFactory().create(appName), session, true);
        } catch (InstantiationException ex) {
            return null;
        }

        app.setExitListener(this);

        synchronized (runningAppInfos) {
            runningAppInfos.put(app, new AppInfo(connection, launchMessageID));
        }

        // Now it is time to enable the master client loop
        app.getClient().enable();

        return app.getConnectionInfo().toString();
    }
View Full Code Here


     */
    protected AppConventionalCell.StartMasterReturnInfo startMaster(String appName, String command,
                                                                    FirstVisibleInitializer fvi) {
        App2D theApp = null;
        try {
            app = new AppXrwMaster(appName, command, getCellID(), pixelScale,
                                   ProcessReporterFactory.getFactory().create(appName), session);
        } catch (InstantiationException ex) {
            return null;
        }

View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.xremwin.client.AppXrwMaster

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.