soc.client
Class SOCPlayerClient.ClientNetwork.SOCPlayerLocalStringReader

java.lang.Object
  extended by soc.client.SOCPlayerClient.ClientNetwork.SOCPlayerLocalStringReader
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
SOCPlayerClient.ClientNetwork

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

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

Since:
1.1.00
Author:
jdmonin

Field Summary
(package private)  LocalStringConnection locl
           
 
Constructor Summary
protected SOCPlayerClient.ClientNetwork.SOCPlayerLocalStringReader(LocalStringConnection prConn)
          Start a new thread and listen to practice server.
 
Method Summary
 void run()
          Continuously read from the practice 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.ClientNetwork.SOCPlayerLocalStringReader

protected SOCPlayerClient.ClientNetwork.SOCPlayerLocalStringReader(LocalStringConnection prConn)
Start a new thread and listen to practice server.

Parameters:
prConn - Active connection to practice server
Method Detail

run

public void run()
Continuously read from the practice string server in a separate thread.

Specified by:
run in interface java.lang.Runnable