Package org.jdesktop.wonderland.server.cell.view

Examples of org.jdesktop.wonderland.server.cell.view.ViewCellMO


     */
    public void login(WonderlandClientSender sender, WonderlandClientID clientID) {
        this.sender = sender;
        this.clientID = clientID;

        ViewCellMO view = getViewCell();

        // see if there is an initial position specified
        CellTransform xform = getInitialPosition();
        if (xform != null) {
            view.setLocalTransform(xform);
        }

        if (!view.isLive()) {
            try {
                WonderlandContext.getCellManager().insertCellInWorld(view);
            } catch (MultipleParentException ex) {
                Logger.getLogger(ViewCellCacheMO.class.getName()).log(Level.SEVERE, null, ex);
            }
View Full Code Here


    /**
     * Notify CellCache that user has logged out
     */
    protected void logout(WonderlandClientID clientID) {
        logger.warning("DEBUG - logout");
        ViewCellMO view = getViewCell();
        UniverseManagerFactory.getUniverseManager().viewLogout(view);
        WonderlandContext.getCellManager().removeCellFromWorld(view);
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.server.cell.view.ViewCellMO

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.