Class UDPSource

    • Constructor Detail

      • UDPSource

        public UDPSource​(int port)
        Throws:
        RuntimeException - on DatagramSocket IOException
      • UDPSource

        public UDPSource​(DatagramSocket sock)
        use socket from UDPSink
    • Method Detail

      • setSink

        public void setSink​(Sink sink)
        Specified by:
        setSink in interface Source
      • start

        public void start()
        Specified by:
        start in interface Source
      • run

        public void run()
        Specified by:
        run in interface Runnable
      • stop

        public void stop()