org.jdesktop.wonderland.server.cell.component
Class CellPhysicsPropertiesComponentMO

java.lang.Object
  extended by org.jdesktop.wonderland.server.cell.CellComponentMO
      extended by org.jdesktop.wonderland.server.cell.component.CellPhysicsPropertiesComponentMO
All Implemented Interfaces:
com.sun.sgs.app.ManagedObject, java.io.Serializable

public class CellPhysicsPropertiesComponentMO
extends CellComponentMO

Author:
paulby
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jdesktop.wonderland.server.cell.CellComponentMO
cellID, cellRef
 
Constructor Summary
CellPhysicsPropertiesComponentMO(CellMO cell)
           
 
Method Summary
protected  java.lang.String getClientClass()
          If this component has a client side component then return the fully qualified name of the client class.
 CellComponentClientState getClientState(CellComponentClientState clientState, WonderlandClientID clientID, ClientCapabilities capabilities)
          Returns the client-side state of the cell component .
 CellComponentServerState getServerState(CellComponentServerState state)
          Returns the server state information currently configured in the component.
 void setServerState(CellComponentServerState state)
          Sets the server state for the cell component
 
Methods inherited from class org.jdesktop.wonderland.server.cell.CellComponentMO
isLive, setLive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellPhysicsPropertiesComponentMO

public CellPhysicsPropertiesComponentMO(CellMO cell)
Method Detail

getClientClass

protected java.lang.String getClientClass()
Description copied from class: CellComponentMO
If this component has a client side component then return the fully qualified name of the client class. If there is no client portion to this component, return null.

Specified by:
getClientClass in class CellComponentMO
Returns:

getClientState

public CellComponentClientState getClientState(CellComponentClientState clientState,
                                               WonderlandClientID clientID,
                                               ClientCapabilities capabilities)
Description copied from class: CellComponentMO
Returns the client-side state of the cell component . If the state argument is null, then the method should create an appropriate class, otherwise, the method should just fill in details in the class. Returns the client- side state class

Overrides:
getClientState in class CellComponentMO
Parameters:
clientState - If null, create a new object
clientID - The unique ID of the client
capabilities - The client capabilities

setServerState

public void setServerState(CellComponentServerState state)
Description copied from class: CellComponentMO
Sets the server state for the cell component

Overrides:
setServerState in class CellComponentMO
Parameters:
state - the properties to setup with

getServerState

public CellComponentServerState getServerState(CellComponentServerState state)
Returns the server state information currently configured in the component. If the state argument is non-null, fill in that object and return it. If the state argument is null, create a new state object.

Overrides:
getServerState in class CellComponentMO
Parameters:
state - The state object, if null, creates one.
Returns:
The current server state information


Open Wonderland - http://openwonderland.org