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

Quick Search    Search Deep

Uses of Class
org.vrspace.server.VRObject

Uses of VRObject in org.vrspace.server
 

Subclasses of VRObject in org.vrspace.server
 class Add
          Encapsulates a new object.
Two purposes:
- to notify the client a new object enters the scene (Client calls Add( VRObject ))
- to add a new object to the database (Client receives Add id className name request)
 class Administrator
          Administrator is no more than User which implements Admin interface.
 class AuthInfo
          This class encapsulates authentication information:
- login name
- password
- client ID (class and it within the class)
- classpath used for commands
- objects owned by this client
NOTE:
All fields are public to enable database storage.
 class Client
          Generic Client class.
 class DBObject
          DBObject defines methodes for database storage.
 class OwnedDBObject
          Forwards events to all the listeners, but receives events only from owners.
 class OwnedVRObject
          Forwards events to all the listeners, but receives events only from owners.
 class PassiveDBObject
          Passive DBObject - cannot send nor receive events.
 class PassiveVRObject
          Passive VRObject - cannot send nor receive events.
 class PrivateDBObject
          Private DBObject class = does not forward events.
 class PrivateVRObject
          Private VRObject class = does not forward events.
 class PublicDBObject
          Public DBObject = forwards events to all the listeners.
 class PublicVRObject
          Public VRObject = forwards events to all the listeners.
 class Remove
          The oposite of Add
 class Transaction
          Transacton: collects request from a client.
 class Transform
          Transform is basic object used to build the scene.
 class YouAre
          Used to notify the client of it's class and id
 

Fields in org.vrspace.server declared as VRObject
 VRObject Request.object
           
private  VRObject Remove.object
           
private  VRObject Add.object
           
 

Methods in org.vrspace.server that return VRObject
static VRObject[] VRObject.fromText(java.lang.String definition)
          Returns array of objects defined by string in toText() format
static VRObject VRObject.newInstance(java.lang.String className)
          Creates new instance of className
 VRObject[] VRObject.getMemebers()
          Returns VRObjects that are member variables of this object.
 VRObject[] Transform.getChildren()
          returns all members of this transform
 VRObject Scene.get(java.lang.String className, long id)
          Retreives a VRObject from the scene or null if it's not in the scene.
TODO: implement!
 VRObject Scene.getClosest(double x, double y, double z, java.lang.Class cl)
          Returns the closest object of some class to the specified point
 VRObject[] Scene.get(java.lang.Class cl)
          Returns all class instances within the scene
protected  VRObject Scene.testObject(VRObject o)
          Test an object against set of filters.
 VRObject Request.getObject()
          Returns wrapped object.
 VRObject Remove.getObject()
          Returns underlying object
 VRObject Dispatcher.get(Client c, java.lang.String className, long id)
          Fetch an object from the database.
IMPORTANT: no protection mechanism, at least AuthInfo objects should not be retreived!
 VRObject Dispatcher.getByName(Client c, java.lang.String className, java.lang.String name)
          Fetch an object from the database having field name equal to name parameter
IMPORTANT: no protection mechanism, at least AuthInfo objects should not be retreived!
 VRObject Add.getObject()
          Returns underlying object
 

Methods in org.vrspace.server with parameters of type VRObject
 void VRObject.setFields(VRObject o)
          Takes field values from passed object, by field name.
 boolean VRObject.equals(VRObject obj)
          VRObject.equals( VRObject ) if class and db_id are the same
(package private)  boolean VRObject.lock(VRObject o)
          Lock the object, o is new owner.
(package private)  boolean VRObject.unlock(VRObject o)
          unlock
(package private)  boolean VRObject.lockClass(VRObject o)
          Lock the class, o is new owner.
(package private)  boolean VRObject.unlockClass(VRObject o)
          unlock
 void Transform.addMember(VRObject obj)
          Adds obj to this Transform.
 void Transform.removeMember(VRObject obj)
          Removes obj from this Transform.
 boolean Transform.contains(VRObject obj)
          True if obj is member of this Transform
private  void Transaction.unlockObj(VRObject obj)
           
protected  VRObject Scene.testObject(VRObject o)
          Test an object against set of filters.
 void Dispatcher.put(Client c, VRObject obj)
          Store an object to the database.
 void Dispatcher.remove(Client c, VRObject obj)
          Remove an object from the database.
 java.lang.Object[] Dispatcher.getRange(Client c, VRObject o1, VRObject o2)
          Returns Object[] between o1 and o2 Class must have comparator() method to be searchable.
 void Client.addObject(VRObject obj)
          Add an object to the scene.
 void Client.removeObject(VRObject obj)
          Remove object obj from the scene
 boolean Client.owns(VRObject o)
          Convenience method.
 boolean Administrator.owns(VRObject o)
          Admin owns everything
protected  boolean AuthInfo.isOwned(VRObject obj)
          Does this user own obj?
protected  void AuthInfo.addOwned(VRObject obj)
          Own obj
protected  void AuthInfo.removeOwned(VRObject obj)
          Do not own obj any longer
 

Constructors in org.vrspace.server with parameters of type VRObject
YouAre(VRObject obj)
           
Request(Client c, VRObject obj)
          This constructor is intended to send object over net
Remove(VRObject obj)
           
Add(VRObject obj)
           
 

Uses of VRObject in org.vrspace.server.object
 

Subclasses of VRObject in org.vrspace.server.object
 class org.vrspace.server.object.User