Class ClientSession

java.lang.Object
  |
  +--ClientSession
All Implemented Interfaces:
java.lang.Runnable

public class ClientSession
extends java.lang.Object
implements java.lang.Runnable

A client session runs on a thread and handles sending accumulated updates to one client engine. Usage: Create, run on thread, send(update), isGood() to check validity, end() to stop running.


Constructor Summary
ClientSession(REngine client)
           
 
Method Summary
 void end()
          End this session.
 boolean isGood()
           
 void run()
           
 void send(Update u)
          Place update in queue and wake up session thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientSession

public ClientSession(REngine client)
Method Detail

isGood

public boolean isGood()

run

public void run()
Specified by:
run in interface java.lang.Runnable

send

public void send(Update u)
Place update in queue and wake up session thread.

end

public void end()
End this session.