Package org.jdesktop.wonderland.common.cell.messages

Examples of org.jdesktop.wonderland.common.cell.messages.ViewCreateResponseMessage


                                CellHierarchyMessage message)
    {       
        switch(message.getActionType()) {
            case SET_VIEW :
                // TODO - should not assume this is an avatar, could be a camera
                ViewCreateResponseMessage response = createAvatar(sender,
                                                                    clientID,
                                                                    message);
                sender.send(clientID, response);
               
                break;
View Full Code Here


        // Set the properties for this connection in the cell cache
        avatar.getCellCache().setConnectionProperties(connectionProperties);
       
        avatar.getCellCache().login(sender, clientID);
       
        return new ViewCreateResponseMessage(msg.getMessageID(), avatar.getCellID());
    }
View Full Code Here

        listeners.add(listener);
    }
   
    private ViewCreateResponseMessage registerView(String viewID) {
        try {
            ViewCreateResponseMessage response =
                    (ViewCreateResponseMessage)sendAndWait(
                            CellHierarchyMessage.newSetAvatarMessage(viewID));

            return response;
        } catch (InterruptedException ex) {
View Full Code Here

    @Override
    public void connect(WonderlandSession session, Properties props)
            throws ConnectionFailureException
    {
        super.connect(session, props);
        ViewCreateResponseMessage msg = registerView(clientView.getViewID());
        clientView.serverInitialized(msg);
        viewCellID = msg.getViewCellID();
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.common.cell.messages.ViewCreateResponseMessage

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.