Class UDPControlThread

java.lang.Object
networkTransfer.receive.UDPControlThread

public class UDPControlThread extends Object
Thread for receiving and responding to UDP commands and requests over the network

Currently only supporting NEtwork discovery.

Author:
Doug Gillespie
  • Constructor Details Link icon

    • UDPControlThread Link icon

      public UDPControlThread(NetworkReceiver networkReceiver)
  • Method Details Link icon

    • startThread Link icon

      public boolean startThread(int udpPort)
      Start the udp thread. If its running, then leave it running.
      Parameters:
      udpPort -
    • runThreadLoop Link icon

      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 -