Package org.jdesktop.wonderland.server.comms

Examples of org.jdesktop.wonderland.server.comms.SessionMapManager


     * @return the identity associated with that clientID, or null if the
     * client can't be found
     */
    protected WonderlandIdentity getIdentity(BigInteger clientID) {
        // map the provided value to a client ID to check
        SessionMapManager smm = AppContext.getManager(SessionMapManager.class);
        WonderlandClientID checkID = smm.getClientID(clientID);
        if (checkID == null) {
            logger.warning("Unable to find client ID for " + clientID);
            return null;
        }

View Full Code Here


    protected ResponseMessage handleSecretRequest(WonderlandClientSender sender,
                                                  WonderlandClientID clientID,
                                                  SecretRequestMessage message)
    {
        // if we got here, the client has permission to send the secret.
        SessionMapManager smm = AppContext.getManager(SessionMapManager.class);
        WonderlandClientID checkID = smm.getClientID(message.getClientID());
       
        // send the secret to the client
        SecretKey secret = XrwSecretManager.getInstance().getSecret(checkID);
        return new SecretResponseMessage(message.getMessageID(), secret);
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.server.comms.SessionMapManager

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.