Package org.jdesktop.wonderland.modules.sharedstate.common.state

Examples of org.jdesktop.wonderland.modules.sharedstate.common.state.SharedStateComponentServerState$SharedDataEntry


        if (!(setup instanceof SharedStateComponentServerState)) {
            throw new IllegalArgumentException("Not shared state component state");
        }

        // convert our internal data into an array of maps
        SharedStateComponentServerState sscss =
                (SharedStateComponentServerState) setup;

        if (!live) {
            // cache the state for later and move on
            state = sscss;
            return;
        }
       
        // merge maps
        receiverRef.get().mergeMaps(sscss.getMaps());
    }
View Full Code Here


    }

    @Override
    public CellComponentServerState getServerState(CellComponentServerState setup) {
        if (setup == null) {
            setup = new SharedStateComponentServerState();
        }

        if (!(setup instanceof SharedStateComponentServerState)) {
            throw new IllegalArgumentException("Not shared state component state");
        }

        // convert our internal data into an array of maps
        SharedStateComponentServerState sscss =
                (SharedStateComponentServerState) setup;
        sscss.setMaps(toMaps(receiverRef.get()));

        return setup;
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.sharedstate.common.state.SharedStateComponentServerState$SharedDataEntry

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.