org.vrspace.server
Class ProxyDispatcher.Proxy

java.lang.Object
  extended byorg.vrspace.server.ProxyDispatcher.Proxy
All Implemented Interfaces:
java.util.Observer
Enclosing class:
ProxyDispatcher

public class ProxyDispatcher.Proxy
extends java.lang.Object
implements java.util.Observer


Constructor Summary
ProxyDispatcher.Proxy(Client client, Dispatcher dispatcher, Client gate, java.lang.String login, java.lang.String password)
           
ProxyDispatcher.Proxy(Client client, Dispatcher dispatcher, java.lang.String host, int port, java.lang.String login, java.lang.String password)
           
 
Method Summary
 void login()
           
 void send(Request r)
          Forwards client's request to remote host - update local db here?
 void update(java.util.Observable conn, java.lang.Object msg)
          Listens connection to remote server and forwards to client's session
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyDispatcher.Proxy

public ProxyDispatcher.Proxy(Client client,
                             Dispatcher dispatcher,
                             Client gate,
                             java.lang.String login,
                             java.lang.String password)
                      throws ConnectionException

ProxyDispatcher.Proxy

public ProxyDispatcher.Proxy(Client client,
                             Dispatcher dispatcher,
                             java.lang.String host,
                             int port,
                             java.lang.String login,
                             java.lang.String password)
                      throws ConnectionException
Method Detail

login

public void login()
           throws ConnectionException
Throws:
ConnectionException

update

public void update(java.util.Observable conn,
                   java.lang.Object msg)
Listens connection to remote server and forwards to client's session

Specified by:
update in interface java.util.Observer

send

public void send(Request r)
Forwards client's request to remote host - update local db here?