org.jdesktop.wonderland.server.spatial
Interface ViewUpdateListener

All Known Implementing Classes:
ServerProximityListenerRecord, SpatialCellImpl, ViewCellImpl

public interface ViewUpdateListener

This listener is used by cells to get notification when a view which is displaying a cell is updaetd

Author:
paulby

Method Summary
 void viewLoggedIn(CellID cell, CellID viewCellID)
          Notification that a view that is displaying this cell logged in.
 void viewLoggedOut(CellID cell, CellID viewCellID)
          Notification that a view logged out
 void viewTransformChanged(CellID cell, CellID viewCellID, CellTransform viewWorldTransform)
          This may be called concurrently from multiple threads, so implentations must be thread safe
 

Method Detail

viewLoggedIn

void viewLoggedIn(CellID cell,
                  CellID viewCellID)
Notification that a view that is displaying this cell logged in.

Parameters:
cellID - the cell that is being monitored
viewCellID - the view that has this cell in its cache

viewTransformChanged

void viewTransformChanged(CellID cell,
                          CellID viewCellID,
                          CellTransform viewWorldTransform)
This may be called concurrently from multiple threads, so implentations must be thread safe

Parameters:
cell -
viewCellID -
viewWorldTransform -

viewLoggedOut

void viewLoggedOut(CellID cell,
                   CellID viewCellID)
Notification that a view logged out

Parameters:
cell - the cell that is being monitored
viewCellID - the view cell that logged out


Open Wonderland - http://openwonderland.org