Class Responder

All Implemented Interfaces:
Runnable

public class Responder extends DNSTask
The Responder sends a single answer for the specified service infos and for the host name.
  • Field Details

    • logger

      static org.slf4j.Logger logger
    • _in

      private final DNSIncoming _in
    • _addr

      private final InetAddress _addr
      The incoming address and port.
    • _port

      private final int _port
    • _unicast

      private final boolean _unicast
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from class: DNSTask
      Return this task name.
      Specified by:
      getName in class DNSTask
      Returns:
      task name
    • toString

      public String toString()
      Overrides:
      toString in class DNSTask
    • start

      public void start(Timer timer)
      Description copied from class: DNSTask
      Start this task.
      Specified by:
      start in class DNSTask
      Parameters:
      timer - task timer.
    • run

      public void run()
      Specified by:
      run in interface Runnable
      Specified by:
      run in class TimerTask