org.jdesktop.wonderland.client.login
Interface SessionCreator<T extends WonderlandSession>

All Known Implementing Classes:
JmeLoginUI, ServerSessionManager.DefaultSessionCreator

public interface SessionCreator<T extends WonderlandSession>

An interface that can be used with the LoginManager to control how a WonderlandSession is created.

Author:
jkaplan

Method Summary
 T createSession(ServerSessionManager sessionManager, WonderlandServerInfo serverInfo, java.lang.ClassLoader loader)
          Create a new WonderlandSession for the given server and classloader.
 

Method Detail

createSession

T createSession(ServerSessionManager sessionManager,
                WonderlandServerInfo serverInfo,
                java.lang.ClassLoader loader)
Create a new WonderlandSession for the given server and classloader. This gives the user-interface a hook to listen for session-related events.

Parameters:
sessionManager - the server session manager that is creating this session
serverInfo - the information about the server to connect to
loader - the classloader with all modules loaded
Returns:
the newly created Wonderland session


Open Wonderland - http://openwonderland.org