Package org.jdesktop.wonderland.modules.presencemanager.common.messages

Examples of org.jdesktop.wonderland.modules.presencemanager.common.messages.PresenceInfoChangedAliasMessage


            }
            return;
        }

        if (message instanceof PresenceInfoChangedAliasMessage) {
            PresenceInfoChangedAliasMessage m = (PresenceInfoChangedAliasMessage) message;
            PresenceInfo pi = pm.getPresenceInfo(m.getCellID());
            if (pi == null) {
                logger.warning("No presence info found for " + m.getCellID());
                return;
            }

            pm.changeUsernameAlias(pi, m.getAlias());
            return;
        }

        throw new UnsupportedOperationException("Unknown message:  " + message);
    }
View Full Code Here


        // set the alias
        pi.setUsernameAlias(alias);

        // send a message to the connection
        getPresenceSender().send(new PresenceInfoChangedAliasMessage(pi.getCellID(), alias));
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.presencemanager.common.messages.PresenceInfoChangedAliasMessage

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.