equip.city
Class CityProxy

java.lang.Object
  |
  +--equip.city.CityProxy

public class CityProxy
extends java.lang.Object

dataspace proxy with an inner class handlers for each visitor type

proxy-handler communication is an ASCII protocol over a dedicated socket for each handler instance

expects user ($U), device ($D) and equip dataspace ($E) messages to initialise each connection handler and then (depending on handler) reads position ($P), orientation ($C), and user ($U) messages, responding to $U with optional visitor ($V) and refresh ($R) messages, terminated by stop ($S) message

See Also:
City protocol, EQUIP, Ana, Dub

Inner Class Summary
protected  class CityProxy.CityTCP
          opens server socket and instantiates ana, dub and vee TCP handlers
protected  class CityProxy.TCPHandlerAna
          handler for TCP connection to VR content client (ana)
protected  class CityProxy.TCPHandlerDub
          handler for TCP connection to WWW visitor client (dub)
protected  class CityProxy.TCPHandlerVee
          handler for TCP connection to physical visitor client (vee)
 
Field Summary
protected static boolean DEBUG
          flag to enable trace output
 
Constructor Summary
CityProxy(int port)
           
 
Method Summary
static void main(java.lang.String[] args)
          checks args and self-instantiates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

protected static boolean DEBUG
flag to enable trace output
Constructor Detail

CityProxy

public CityProxy(int port)
Method Detail

main

public static void main(java.lang.String[] args)
checks args and self-instantiates