|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectLectureGame.Core.ConnectionListener
class ConnectionListener
Created by IntelliJ IDEA. User: olekrst Date: 10.jan.2007 Time: 16:30:44 This class runs as a separate thread and listens for StudentClient connections.
Field Summary | |
---|---|
private int |
maxConnections
|
private NetworkConnectionKeeper |
networkConnectionKeeper
|
private boolean |
serverIsAlive
|
Constructor Summary | |
---|---|
ConnectionListener(NetworkConnectionKeeper networkConnectionKeeper)
Thread which listens for incoming connections from studentclients |
Method Summary | |
---|---|
void |
run()
Listens for new connections of the type StudentClient. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final int maxConnections
private boolean serverIsAlive
private final NetworkConnectionKeeper networkConnectionKeeper
Constructor Detail |
---|
public ConnectionListener(NetworkConnectionKeeper networkConnectionKeeper)
networkConnectionKeeper
- NetworkConnectionKeeper
Method Detail |
---|
public void run()
run
in interface java.lang.Runnable
Runnable
,
LG
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |