org.vrspace.server.object
Class Gate
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
- All Implemented Interfaces:
- java.lang.Cloneable, HasTransform, java.util.Observer, Owned
- Direct Known Subclasses:
- Mirror, Tunnell
- public class Gate
- extends VrmlFile
Gate to another host. Act as proxy connection.
Field Summary |
java.lang.String |
author
|
boolean |
autoCommit
Whether ProxyDispatcher should commit database after each Add/Remove. |
java.lang.String |
description
|
java.lang.String |
host
|
boolean |
online
Whether server behind this Gate is online. |
int |
port
|
boolean |
remove
Whether ProxyDispatcher behind this Gate should remove cached objects from the local database. |
java.lang.String |
screen
|
Fields inherited from class org.vrspace.server.DBObject |
db |
Constructor Summary |
Gate()
|
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 |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
host
public java.lang.String host
port
public int port
author
public java.lang.String author
description
public java.lang.String description
online
public boolean online
- Whether server behind this Gate is online. Set on last enter attemt, default: true
remove
public boolean remove
- Whether ProxyDispatcher behind this Gate should remove cached objects from the local database.
If true, objects are removed only if not observed.
False means keep local copy of remote database persistent - refresh occurs whenever local Admin sees remote objects.
Default: false
- See Also:
ProxyDispatcher
autoCommit
public boolean autoCommit
- Whether ProxyDispatcher should commit database after each Add/Remove. Default: true
- See Also:
ProxyDispatcher
,
Remove
,
Add
screen
public java.lang.String screen
Gate
public Gate()
set_enter
public void set_enter(Request r,
java.lang.String args)
throws java.lang.Exception
- Throws:
java.lang.Exception