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

Examples of org.jdesktop.wonderland.modules.avatarbase.common.cell.messages.AvatarConfigMessage


        // Update the current value for the avatar configuration, and if the
        // component is live, then send a message to all clients.
        avatarConfigInfo = msg.getAvatarConfigInfo();
        if (isLive() == true) {
            ChannelComponentMO channel = channelComponentRef.getForUpdate();
            AvatarConfigMessage resp = new AvatarConfigMessage(ActionType.APPLY, avatarConfigInfo);
            channel.sendAll(clientID, resp);
        }
    }
View Full Code Here


        public void messageReceived(WonderlandClientSender sender,
                WonderlandClientID clientID, CellMessage message) {


            AvatarConfigMessage ent = (AvatarConfigMessage) message;
            switch (ent.getActionType()) {

                case REQUEST:
                    // TODO check permisions
                    compRef.getForUpdate().handleMessage(clientID, ent);
                    break;
View Full Code Here

        avatarConfigInfo = ((AvatarConfigComponentClientState)clientState).getAvatarConfigInfo();
   
        // send a config change event
        if (status.ordinal() >= CellStatus.ACTIVE.ordinal()) {
            fireAvatarConfigChangeEvent(
                new AvatarConfigMessage(AvatarConfigMessage.ActionType.APPLY,
                                        avatarConfigInfo));
        }
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.avatarbase.common.cell.messages.AvatarConfigMessage

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.