org.jdesktop.wonderland.common.comms.messages
Class SessionInitializationMessage

java.lang.Object
  extended by org.jdesktop.wonderland.common.messages.Message
      extended by org.jdesktop.wonderland.common.comms.messages.SessionInitializationMessage
All Implemented Interfaces:
java.io.Serializable

public class SessionInitializationMessage
extends Message

Message sent from the server to the client immediately on session creation. This message give the client necessary information about the session, such as its unique id.

Author:
jkaplan
See Also:
Serialized Form

Constructor Summary
SessionInitializationMessage(java.math.BigInteger sessionID, WonderlandIdentity userID)
          Create a new SessionInitializationMessage
 
Method Summary
 java.math.BigInteger getSessionID()
          Get the session ID
 WonderlandIdentity getUserID()
          Get the user ID
 
Methods inherited from class org.jdesktop.wonderland.common.messages.Message
getMessageID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionInitializationMessage

public SessionInitializationMessage(java.math.BigInteger sessionID,
                                    WonderlandIdentity userID)
Create a new SessionInitializationMessage

Parameters:
sessionID - the unique id of this session
Method Detail

getSessionID

public java.math.BigInteger getSessionID()
Get the session ID

Returns:
the session ID

getUserID

public WonderlandIdentity getUserID()
Get the user ID

Returns:
the user ID


Open Wonderland - http://openwonderland.org