soc.client
Class SOCPlayerClient.SOCPlayerLocalStringReader

java.lang.Object
  extended bysoc.client.SOCPlayerClient.SOCPlayerLocalStringReader
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
SOCPlayerClient

protected class SOCPlayerClient.SOCPlayerLocalStringReader
extends java.lang.Object
implements java.lang.Runnable

For local practice games, reader thread to get messages from the local server to be treated and reacted to.


Field Summary
(package private)  LocalStringConnection locl
           
 
Constructor Summary
protected SOCPlayerClient.SOCPlayerLocalStringReader(LocalStringConnection localConn)
          Start a new thread and listen to local server.
 
Method Summary
 void run()
          continuously read from the local string server in a separate thread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

locl

LocalStringConnection locl
Constructor Detail

SOCPlayerClient.SOCPlayerLocalStringReader

protected SOCPlayerClient.SOCPlayerLocalStringReader(LocalStringConnection localConn)
Start a new thread and listen to local server.

Parameters:
localConn - Active connection to local server
Method Detail

run

public void run()
continuously read from the local string server in a separate thread

Specified by:
run in interface java.lang.Runnable