|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--equip.city.CityProxy.TCPHandlerAna
handler for TCP connection to VR content client (ana)
sends (optional) refresh ($R) message and EOM ($S) message
Ana
Field Summary | |
protected equip.config.ConfigManager |
config
config for this handler |
protected equip.runtime.Time |
connectTime
time of initial connection as base for trace output |
protected java.lang.String |
device
this user's device |
protected boolean |
dirty
content dirty flag (so send $R) |
protected equip.data.EquipConnector |
ec
this handler's connection to equip |
protected java.lang.String |
equipDS
application (visit) dataspace |
protected equip.data.DataItemListener |
expnListener
listener for Explanation events |
protected java.io.BufferedReader |
in
stream for replies to client |
protected java.lang.String |
lastLocn
temporary hack for same-name bboxes |
protected java.lang.String |
name
name of this handler's user |
protected java.io.PrintWriter |
out
stream for replies to client |
protected java.net.Socket |
socket
socket for this handler |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary | |
protected java.lang.String |
elapsedTime()
returns formatted string (000.000) of seconds since connection |
protected void |
handleDevice(java.lang.String s)
handles device message from client |
protected void |
handleEquipDS(java.lang.String s)
handles equip dataspace message from client (coerces to lower case) |
protected void |
handleUser(java.lang.String s)
handles position message from client |
void |
run()
sends (optional) refresh ($R) message and EOM ($S) messages while stream is OK |
protected void |
sendRefresh(java.io.PrintWriter out)
sends refresh ($R;) message to client (for consistency and extension) |
protected void |
sendStop(java.io.PrintWriter out)
sends stop ($S) message to client (for consistency and extension) |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.net.Socket socket
protected java.io.PrintWriter out
protected java.io.BufferedReader in
protected boolean dirty
protected equip.data.DataItemListener expnListener
protected equip.data.EquipConnector ec
protected java.lang.String lastLocn
protected equip.runtime.Time connectTime
protected java.lang.String name
protected java.lang.String device
protected java.lang.String equipDS
protected equip.config.ConfigManager config
Method Detail |
protected java.lang.String elapsedTime()
public void run()
run
in class java.lang.Thread
protected void handleUser(java.lang.String s)
s
- user and time stamp ($UXXX,HHMMSS; without marker)protected void handleDevice(java.lang.String s)
s
- device ($DXXX...; without marker)protected void handleEquipDS(java.lang.String s)
s
- device ($EXXX...; without marker)protected void sendRefresh(java.io.PrintWriter out)
out
- stream for refresh replyprotected void sendStop(java.io.PrintWriter out)
out
- stream for stop reply
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |