|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Thread
|
+--Client.ServerEchoListener
A thread responsible for sitting on a given port and registering messages receives
| Field Summary | |
private java.io.BufferedReader |
inSock
An input for the socket |
| Fields inherited from class java.lang.Thread |
contextClassLoader, daemon, eetop, group, inheritableThreadLocals, inheritedAccessControlContext, MAX_PRIORITY, MIN_PRIORITY, name, NORM_PRIORITY, priority, single_step, stillborn, stopThreadPermission, target, threadInitNumber, threadLocals, threadQ |
| Constructor Summary | |
(package private) |
ServerEchoListener(java.io.BufferedReader inSock)
Read a line from the socket's input |
| Method Summary | |
private java.lang.String |
getLine()
Receives a line over the network |
void |
run()
A front-end for this thread. |
| Methods inherited from class java.lang.Thread |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private final java.io.BufferedReader inSock
| Constructor Detail |
ServerEchoListener(java.io.BufferedReader inSock)
| Method Detail |
private final java.lang.String getLine()
public final void run()
run in class java.lang.Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||