|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectScanIncomingConnections
public class ScanIncomingConnections
Scans for incoming connections to the server When is receives a connection is creates a Client object and passes it to the MainRoom.
Field Summary | |
---|---|
static int |
PORT
|
Constructor Summary | |
---|---|
ScanIncomingConnections(MainRoom server)
Constructs a scanning object that waits for incoming connections |
Method Summary | |
---|---|
void |
run()
Overrided run method that goes when this thread is started |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PORT
Constructor Detail |
---|
public ScanIncomingConnections(MainRoom server)
server
- the server that it will send clients back toMethod 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 |