java.lang.Object
com.example.brickpaint.ServerDiscovery
- All Implemented Interfaces:
Runnable
[WORK IN PROGRESS]
Discovery thread that runs on the server and accepts
UDP broadcasts from clients looking for a corresponding Server
- Author:
- matde, Michiel De Mey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServerDiscovery
public ServerDiscovery()
-
-
Method Details
-
Stop
public void Stop()Helper function that stops the discovery thread loop -
run
public void run()Main thread that loops continuously looking for incoming data packets containing the keyword, when found it will send a return packet that it used to determine the server InetAddress
-