Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.xmud.core
Class CObject  view CObject download CObject.java

java.lang.Object
  extended byorg.xmud.core.CObject

public abstract class CObject
extends java.lang.Object


Nested Class Summary
 class CObject.methodinfo
           
 
Field Summary
protected  java.lang.String classname
           
 java.lang.String cstateclass
           
 org.xmud.graphicsengine.engine g_engine
           
 java.util.Hashtable methods
           
 int myclientid
           
 java.lang.String mytoken
           
 int objid
           
 org.xmud.objectmanager.CObjectManager_impl om
           
 state_modifier s_modifier
           
 java.util.Hashtable statelist
           
 
Constructor Summary
CObject()
           
 
Method Summary
 void activateGraphicElement()
           
 void addEmptyStateElement(java.lang.String name)
           
 void addMethod(java.lang.String name, int priority)
           
 boolean authorizeCall(java.lang.String method, int caller)
           
 boolean authorizeLockStateElement(java.lang.String name, int caller)
           
 methodcall buildMethodCall(int objid, java.lang.String mname, java.lang.Object[] o)
           
abstract  boolean getActive()
           
 java.lang.String getClassName()
           
 int getMethodId(java.lang.String name)
           
 java.lang.String getMethodName(int id)
           
 int getMethodPriority(int id)
           
 int getObjid()
           
abstract  double[] getPosition()
           
abstract  int getSector()
           
 objectstate getState(int clientid)
           
 CState getStateElement(java.lang.String name, int clientid)
           
 CState getStateElementServer(java.lang.String name, int clientid)
           
 state_var getStateElementVariable(int id)
           
 state_var getStateElementVariableServer(int id)
           
 java.lang.String[] getStateNames()
           
abstract  java.lang.String getType()
           
abstract  boolean hasState()
           
abstract  void init(int clientid, java.lang.String token, org.xmud.objectmanager.CObjectManager_impl om)
           
 boolean isPersistent()
           
 boolean isServer(int id)
           
 void load()
           
 void processMessage(int clientid, java.io.Serializable data)
           
abstract  void setActive(boolean v)
           
 void setClassName(java.lang.String classname)
           
 void setEngine(org.xmud.graphicsengine.engine e)
           
 void setObjid(int objid)
           
 void setState(objectstate s)
           
 void setStateElement(CState s)
           
 void setStateElementVariable(state_var v)
           
 void updateStateElementNotification(CState s)
           
 void updateStateElementVariableNotification(state_var v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objid

public int objid

classname

protected java.lang.String classname

om

public org.xmud.objectmanager.CObjectManager_impl om

statelist

public java.util.Hashtable statelist

myclientid

public int myclientid

mytoken

public java.lang.String mytoken

cstateclass

public java.lang.String cstateclass

s_modifier

public state_modifier s_modifier

g_engine

public org.xmud.graphicsengine.engine g_engine

methods

public java.util.Hashtable methods
Constructor Detail

CObject

public CObject()
Method Detail

getMethodPriority

public int getMethodPriority(int id)

getMethodId

public int getMethodId(java.lang.String name)

getMethodName

public java.lang.String getMethodName(int id)

addMethod

public void addMethod(java.lang.String name,
                      int priority)

processMessage

public void processMessage(int clientid,
                           java.io.Serializable data)

addEmptyStateElement

public void addEmptyStateElement(java.lang.String name)

load

public void load()

buildMethodCall

public methodcall buildMethodCall(int objid,
                                  java.lang.String mname,
                                  java.lang.Object[] o)

hasState

public abstract boolean hasState()

setActive

public abstract void setActive(boolean v)

getActive

public abstract boolean getActive()

setEngine

public void setEngine(org.xmud.graphicsengine.engine e)

activateGraphicElement

public void activateGraphicElement()

isPersistent

public boolean isPersistent()

isServer

public boolean isServer(int id)

authorizeLockStateElement

public boolean authorizeLockStateElement(java.lang.String name,
                                         int caller)

authorizeCall

public boolean authorizeCall(java.lang.String method,
                             int caller)

setObjid

public void setObjid(int objid)

setClassName

public void setClassName(java.lang.String classname)

getObjid

public int getObjid()

getClassName

public java.lang.String getClassName()

getStateNames

public java.lang.String[] getStateNames()

getState

public objectstate getState(int clientid)

setState

public void setState(objectstate s)

getStateElementServer

public CState getStateElementServer(java.lang.String name,
                                    int clientid)

getStateElementVariableServer

public state_var getStateElementVariableServer(int id)

getStateElementVariable

public state_var getStateElementVariable(int id)

setStateElementVariable

public void setStateElementVariable(state_var v)

getStateElement

public CState getStateElement(java.lang.String name,
                              int clientid)

setStateElement

public void setStateElement(CState s)

updateStateElementVariableNotification

public void updateStateElementVariableNotification(state_var v)

updateStateElementNotification

public void updateStateElementNotification(CState s)

getType

public abstract java.lang.String getType()

getSector

public abstract int getSector()

getPosition

public abstract double[] getPosition()

init

public abstract void init(int clientid,
                          java.lang.String token,
                          org.xmud.objectmanager.CObjectManager_impl om)