Package networkTransfer.receive
Class UDPControlThread
java.lang.Object
networkTransfer.receive.UDPControlThread
Thread for receiving and responding to UDP commands and requests over
the network
Currently only supporting NEtwork discovery.
- Author:
- Doug Gillespie
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This is where it sits for ever - or until it's told to bomb out, e.g.boolean
startThread
(int udpPort) Start the udp thread.
-
Constructor Details
-
UDPControlThread
-
-
Method Details
-
startThread
public boolean startThread(int udpPort) Start the udp thread. If its running, then leave it running.- Parameters:
udpPort
-
-
runThreadLoop
public void runThreadLoop()This is where it sits for ever - or until it's told to bomb out, e.g. to restart with a different port address.- Parameters:
udpPort
-
-