org.vrspace.server.object
Class Mirror
java.lang.Object
java.util.Observable
org.vrspace.server.VRObject
org.vrspace.server.DBObject
org.vrspace.server.PublicDBObject
org.vrspace.server.OwnedDBObject
org.vrspace.server.object.File
org.vrspace.server.object.VrmlFile
org.vrspace.server.object.Gate
org.vrspace.server.object.Mirror
- All Implemented Interfaces:
- java.lang.Cloneable, Daemon, HasTransform, java.util.Observer, Owned
- public class Mirror
- extends Gate
- implements Daemon, java.util.Observer
A Mirror connects to the remote host on startup, and then then simply mirrors (copies) all seen objects to local database
Fields inherited from class org.vrspace.server.DBObject |
db |
Method Summary |
void |
addObserver(java.util.Observer o)
Adds observer. |
void |
initialized()
This is called on each Damon after dispatcher is initialized (space loaded & all daemons started) |
void |
shutdown()
|
void |
startup(Dispatcher d)
|
void |
update(java.util.Observable conn,
java.lang.Object msg)
Process remote message - TODO |
Methods inherited from class org.vrspace.server.object.Gate |
set_enter |
Methods inherited from class org.vrspace.server.VRObject |
arrayToString, canRead, canWrite, clone, equals, fieldToText, fromString, fromText, getClassName, getField, getFields, getId, getID, getMemebers, hasField, hasMethod, isNew, newInstance, sendResponse, setField, setField, setField, setFields, setFields, stringToArray, toString, toText, toText, toText |
Methods inherited from class java.util.Observable |
clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
login
public java.lang.String login
password
public java.lang.String password
dispatcher
protected Dispatcher dispatcher
Mirror
public Mirror()
initialized
public void initialized()
- Description copied from interface:
Daemon
- This is called on each Damon after dispatcher is initialized (space loaded & all daemons started)
- Specified by:
initialized
in interface Daemon
startup
public void startup(Dispatcher d)
- Specified by:
startup
in interface Daemon
shutdown
public void shutdown()
- Specified by:
shutdown
in interface Daemon
addObserver
public void addObserver(java.util.Observer o)
- Adds observer.
update
public void update(java.util.Observable conn,
java.lang.Object msg)
- Process remote message - TODO
- Specified by:
update
in interface java.util.Observer
- Overrides:
update
in class VrmlFile