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

Quick Search    Search Deep

org.vrspace.server
Class ProxyDispatcher.Proxy  view ProxyDispatcher.Proxy download ProxyDispatcher.Proxy.java

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


Field Summary
(package private)  double angle
           
(package private)  Client client
           
(package private)  org.vrspace.util.Connection connection
           
(package private)  Dispatcher dispatcher
           
(package private)  boolean identified
           
(package private)  long lastReceived
           
(package private)  java.lang.String myClass
           
(package private)  long myId
           
(package private)  org.vrspace.util.Queue queue
           
(package private)  double rotx
           
(package private)  double roty
           
(package private)  double rotz
           
(package private)  long startTime
           
(package private)  double x
           
(package private)  double y
           
(package private)  double z
           
 
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
 

Field Detail

dispatcher

Dispatcher dispatcher

client

Client client

connection

org.vrspace.util.Connection connection

x

double x

y

double y

z

double z

rotx

double rotx

roty

double roty

rotz

double rotz

angle

double angle

startTime

long startTime

lastReceived

long lastReceived

identified

boolean identified

myId

long myId

myClass

java.lang.String myClass

queue

org.vrspace.util.Queue queue
Constructor Detail

ProxyDispatcher.Proxy

public ProxyDispatcher.Proxy(Client client,
                             Dispatcher dispatcher,
                             Client gate,
                             java.lang.String login,
                             java.lang.String password)
                      throws org.vrspace.util.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 org.vrspace.util.ConnectionException
Method Detail

login

public void login()
           throws org.vrspace.util.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?