|
|||||||||
| Home >> All >> org >> vrspace >> [ server overview ] | PREV NEXT | ||||||||
Uses of Class
org.vrspace.server.Request
| Uses of Request in org.vrspace.server |
| Fields in org.vrspace.server declared as Request | |
private Request |
VRObject.request
|
| Methods in org.vrspace.server with parameters of type Request | |
void |
VRObject.setField(Request r)
Sets field r.getEventName() to r.getEventValue() |
void |
VRObject.setField(java.lang.String name,
java.lang.String value,
Request r)
Equals to obj.name = value. |
void |
VRObject.sendEvent(Request r)
Forwards request r to other clients, Observers added by Dispatcher. |
protected void |
VRObject.setValue(Request r)
This implementation does nothing |
void |
Session.sendResponse(Request r)
write( "+"+ r ) - OK response to a request |
void |
Session.sendError(Request r)
write( "-"+ r ) - ERROR response to a request |
void |
Session.sendRequest(Request r)
Sends a request to the client |
java.io.InputStream |
Server.getFile(Request req,
java.lang.String path,
org.vrspace.attributes.Filter filter)
This should retreive a file from anywhere. |
protected static void |
RequestLog.logRequest(Request r)
Adds new request to the RequestLog |
void |
Remove.sendEvent(Request r)
Override a PassiveDBObject method This can receive only one event: Remove id className className |
protected void |
PublicVRObject.setValue(Request r)
Forwards the request to other clients if eventName does not begin with _ |
protected void |
PublicDBObject.setValue(Request r)
Forwards the request to other clients if eventName does not begin with _ |
protected void |
ProxyDispatcher.forward(Request r)
Forward Request to the Client |
(package private) void |
ProxyDispatcher.remoteRequest(Request r)
Process remote request and forward it to the client |
void |
ProxyDispatcher.request(Request r)
Process request from the client. |
void |
ProxyDispatcher.Proxy.send(Request r)
Forwards client's request to remote host - update local db here? |
protected void |
PrivateVRObject.setValue(Request r)
Does not forward events |
protected void |
PrivateDBObject.setValue(Request r)
Does not forward events |
void |
PassiveVRObject.sendEvent(Request r)
|
void |
PassiveDBObject.sendEvent(Request r)
|
void |
OwnedVRObject.sendEvent(Request r)
Forwards request r to other clients, listeners added by Dispatcher. |
void |
OwnedDBObject.sendEvent(Request r)
Forwards request r to other clients, listeners added by Dispatcher. |
void |
Dispatcher.request(Request r)
Process request from the client. |
void |
DBObject.sendEvent(Request r)
Forwards request r to other clients, listeners added by Dispatcher. |
abstract void |
DB.update(Request r)
A request is a change to one field. |
void |
Command.exec(Request r)
|
void |
Client.sendResponse(Request r,
java.lang.String response)
Sends the response back to the client TODO: Include more information to the response (originating request id) |
void |
Client.request(Request r)
A new client request. |
void |
Client.invalidRequest(Request r)
Called from Dispatcher if request() sent an invalid request |
protected void |
Client.setValue(Request r)
This method forwards events to other intances on the net Request is already processed, validated etc. |
void |
Client.set_addFilter(Request r,
java.lang.String filter)
adds class filter usage: my addFilter org.vrspace.server.filter.ClassFilter VrmlFile removes all VrmlFile instances from the scene. Default package name for filters is org.vrspace.server.filter Tries to call constructor with following parameters: - String - Request - none (Class.newInstance) |
protected org.vrspace.attributes.ObjectFilter |
Client.getFilter(Request r,
java.lang.String filter)
|
void |
Client.set_removeFilter(Request r,
java.lang.String filter)
removes filter |
void |
Client.set__password(Request r,
java.lang.String passwd)
Changes password |
void |
Client.set__sceneSize(Request r,
java.lang.String size)
Set Scene size |
void |
Client.set__sceneRange(Request r,
java.lang.String range)
Set Scene range |
void |
Add.sendEvent(Request r)
Override a PassiveDBObject method This can receive only one event: Add id className className |
| Constructors in org.vrspace.server with parameters of type Request | |
RequestException(Request r,
java.lang.String s)
|
|
Request(Request r,
java.lang.String request)
This constructor uses client and session info from passed request. |
|
|
|||||||||
| Home >> All >> org >> vrspace >> [ server overview ] | PREV NEXT | ||||||||