|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfeud.clientserver.SimpleServer.ClientRegisterService
This is the server's listening thread. It waits for client connections on the specified tcp port and spawns a new thread for each client that handles this client's requests and responses. If this thread dies (or doesn't start up due to the port not being available), the server in not running.
Field Summary | |
private int |
port
|
Constructor Summary | |
SimpleServer.ClientRegisterService(int port)
|
Method Summary | |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private int port
Constructor Detail |
public SimpleServer.ClientRegisterService(int port)
Method Detail |
public void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |