org.jdesktop.wonderland.client.cell
Interface CellCache.CellCacheListener

All Known Implementing Classes:
CellChannelConnection
Enclosing interface:
CellCache

public static interface CellCache.CellCacheListener

A listener that will be notified when cells are loaded or unloaded.


Method Summary
 void cellLoaded(CellID cellID, Cell cell)
          Notification that a cell has been loaded.
 void cellLoadFailed(CellID cellID, java.lang.String className, CellID parentCellID, java.lang.Throwable cause)
          Notification that a cell failed to load.
 void cellUnloaded(CellID cellID, Cell cell)
          Notification that a cell was unloaded.
 

Method Detail

cellLoaded

void cellLoaded(CellID cellID,
                Cell cell)
Notification that a cell has been loaded. This will be sent after the cell has been loaded, and its client state has been set, but before the cell's status has been changed from DISK to anything else.

Parameters:
cellID - the id of the loaded cell
cell - the cell that was loaded

cellLoadFailed

void cellLoadFailed(CellID cellID,
                    java.lang.String className,
                    CellID parentCellID,
                    java.lang.Throwable cause)
Notification that a cell failed to load.

Parameters:
cellID - the id of the cell that didn't load
className - the name of the cell that didn't load
parentCellID - the id of the cell's parent
cause - the reason the cell didn't load

cellUnloaded

void cellUnloaded(CellID cellID,
                  Cell cell)
Notification that a cell was unloaded. This will be called after the cell has been unloaded, but before its status has been changed.

Parameters:
cellID - the id of the unloaded cell
cell - the cell that was unloaded


Open Wonderland - http://openwonderland.org