org.jdesktop.wonderland.client.cell
Interface CellCacheConnection.CellCacheMessageListener

All Known Implementing Classes:
CellCacheBasicImpl, JmeCellCache
Enclosing class:
CellCacheConnection

public static interface CellCacheConnection.CellCacheMessageListener

Listener interface for cell cache action messages


Method Summary
 void changeParent(CellID cellID, CellID parentCellID, CellTransform cellTransform)
          Changes the parent of the cell.
 void configureCell(CellID cellID, CellClientState clientState, java.lang.String cellName)
          (Re)configures an existing cell with a new client state
 void deleteCell(CellID cellID)
          Delete the cell and all its content from the client
 Cell loadCell(CellID cellID, java.lang.String className, com.jme.bounding.BoundingVolume localBounds, CellID parentCellID, CellTransform cellTransform, CellClientState setup, java.lang.String cellName)
          Load the cell and prepare it for use
 void unloadCell(CellID cellID)
          Unload the cell.
 

Method Detail

loadCell

Cell loadCell(CellID cellID,
              java.lang.String className,
              com.jme.bounding.BoundingVolume localBounds,
              CellID parentCellID,
              CellTransform cellTransform,
              CellClientState setup,
              java.lang.String cellName)
Load the cell and prepare it for use

Parameters:
cellID -
className -
computedWorldBounds -
parentCellID -
cellTransform -
setup -

configureCell

void configureCell(CellID cellID,
                   CellClientState clientState,
                   java.lang.String cellName)
(Re)configures an existing cell with a new client state

Parameters:
cellID - The unique ID of the cell
clientState - The new client state for the cell
cellName - The (new) name of the cell

unloadCell

void unloadCell(CellID cellID)
Unload the cell. This removes the cell from memory but will leave cell data cached on the client

Parameters:
cellID -

deleteCell

void deleteCell(CellID cellID)
Delete the cell and all its content from the client

Parameters:
cellID -

changeParent

void changeParent(CellID cellID,
                  CellID parentCellID,
                  CellTransform cellTransform)
Changes the parent of the cell.

Parameters:
cellID - The Cell ID of the Cell to move
parentCellID - The Cell ID of the new parent
cellTransform - The new local transform of the Cell


Open Wonderland - http://openwonderland.org