Package org.jdesktop.wonderland.modules.appbase.common.cell

Examples of org.jdesktop.wonderland.modules.appbase.common.cell.AppConventionalCellClientState


     */
    @Override
    public void setClientState(CellClientState clientState) {
        super.setClientState(clientState);

        AppConventionalCellClientState state = (AppConventionalCellClientState) clientState;
        appName = state.getAppName();
        launchLocation = state.getLaunchLocation();
        launchUser = state.getLaunchUser();
        command = state.getCommand();

        if (launchLocation.equalsIgnoreCase("user") &&
            launchUser.equals(cellCacheSession.getUserID().getUsername())) {

            // Master case: nothing to do

        } else {

            // Slave case
            connectionInfo = state.getConnectionInfo();
            logger.info("Initial connection info value for slave = " + connectionInfo);
        }
    }
View Full Code Here


     */
    @Override
    protected CellClientState getClientState(CellClientState cellClientState,
                                             WonderlandClientID clientID, ClientCapabilities capabilities) {
        if (cellClientState == null) {
            cellClientState = new AppConventionalCellClientState();
        }
        populateClientState((AppConventionalCellClientState) cellClientState);
        return super.getClientState(cellClientState, clientID, capabilities);
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.appbase.common.cell.AppConventionalCellClientState

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.