|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfeud.clientserver.SimpleServer.ServerBroadcast
The broadcast thread. The broadcast goes to all clients in the local subnet via UDP. If the port is not available, this thread will terminate with a RuntimeException but the server will continue to run without it. Currently, the server will send its data into the network every three seconds.
Field Summary | |
private int |
port
|
private int |
tcpPort
|
Constructor Summary | |
SimpleServer.ServerBroadcast(int tcpPort,
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
private int tcpPort
Constructor Detail |
public SimpleServer.ServerBroadcast(int tcpPort, 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 |