|
||||||||
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 | +--equip.city.CityProxy.TCPHandlerDub | +--equip.city.CityProxy.TCPHandlerVee
handler for TCP connection to physical visitor client (vee)
receives position ($P), orientation ($C), location ($L), GPS ($G) and and user ($U) messages and sends optional visitor ($V) and refresh ($R) messages and EOM message ($S)
Inner classes inherited from class equip.city.CityProxy.TCPHandlerDub |
CityProxy.TCPHandlerDub.VisitorCallback |
Fields inherited from class equip.city.CityProxy.TCPHandlerDub |
compass, degrees, handID, headID, lastX, lastY, lastZ, positionID, roffset, targetID, visitorListener, visitors, xoffset, yoffset |
Fields inherited from class equip.city.CityProxy.TCPHandlerAna |
config, connectTime, device, dirty, ec, equipDS, expnListener, in, lastLocn, name, out, socket |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Method Summary | |
protected void |
handleGPS(java.lang.String s)
handles GPS message from client, translating lat-long to relative-metres |
protected void |
handleLocation(java.lang.String s)
handles location message from client |
void |
run()
read and handle $C $U $P $L $G messages and reply to $U with $V $R $S |
Methods inherited from class equip.city.CityProxy.TCPHandlerDub |
handleCompass, handlePosition, sendVisitor, sendVisitors, update3D, updatePos |
Methods inherited from class equip.city.CityProxy.TCPHandlerAna |
elapsedTime, handleDevice, handleEquipDS, handleUser, sendRefresh, sendStop |
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 |
Method Detail |
public void run()
run
in class CityProxy.TCPHandlerDub
protected void handleGPS(java.lang.String s)
details:
s
- position GPS ($G55,51.593,N,004,15.353,W; without marker)protected void handleLocation(java.lang.String s)
s
- location ($Lxxxxxx; without marker, typically pinger ID)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |