org.jdesktop.wonderland.client.jme
Class JmeClientSession

java.lang.Object
  extended by org.jdesktop.wonderland.client.comms.WonderlandSessionImpl
      extended by org.jdesktop.wonderland.client.comms.CellClientSession
          extended by org.jdesktop.wonderland.client.jme.JmeClientSession
All Implemented Interfaces:
WonderlandSession

public class JmeClientSession
extends CellClientSession

An extension of CellClientSession to work with JME. Primarily, this uses a JmeCellCache instead of a regular cell cache

Author:
jkaplan

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jdesktop.wonderland.client.comms.WonderlandSessionImpl
WonderlandSessionImpl.ClientRecord, WonderlandSessionImpl.SessionInternalHandler
 
Nested classes/interfaces inherited from interface org.jdesktop.wonderland.client.comms.WonderlandSession
WonderlandSession.Status
 
Constructor Summary
JmeClientSession(ServerSessionManager manager, WonderlandServerInfo serverInfo, java.lang.ClassLoader loader)
           
 
Method Summary
protected  JmeCellCache createCellCache()
          Create the cell cache.
 JmeCellCache getCellCache()
          Return the cell cache for this session
 void setInitialPosition(com.jme.math.Vector3f initialPosition, com.jme.math.Quaternion initialLook)
           
 
Methods inherited from class org.jdesktop.wonderland.client.comms.CellClientSession
getCellCacheConnection, getCellCacheProperties, getCellChannelConnection, getCellChannelProperties, getCellEditChannelConnection, getCellEditProperties, getLocalAvatar, login
 
Methods inherited from class org.jdesktop.wonderland.client.comms.WonderlandSessionImpl
addClientRecord, addSessionStatusListener, connect, connect, disconnect, fireClientStatusChanged, fireSessionMessageReceived, getClassLoader, getClientRecord, getClientRecord, getClientRecord, getConnection, getConnection, getConnections, getID, getInternalClient, getName, getProtocolName, getProtocolVersion, getServerInfo, getSessionManager, getSimpleClient, getStatus, getUserID, logout, removeClientRecord, removeSessionStatusListener, send, setClientID, setStatus, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JmeClientSession

public JmeClientSession(ServerSessionManager manager,
                        WonderlandServerInfo serverInfo,
                        java.lang.ClassLoader loader)
Method Detail

getCellCache

public JmeCellCache getCellCache()
Description copied from class: CellClientSession
Return the cell cache for this session

Overrides:
getCellCache in class CellClientSession
Returns:
the cell cache

setInitialPosition

public void setInitialPosition(com.jme.math.Vector3f initialPosition,
                               com.jme.math.Quaternion initialLook)

createCellCache

protected JmeCellCache createCellCache()
Description copied from class: CellClientSession
Create the cell cache. Called in the constructor after all connections have already been created.

Overrides:
createCellCache in class CellClientSession
Returns:
the newly created cell cache


Open Wonderland - http://openwonderland.org