Interface Configuration


public interface Configuration
Interface providing the network settings for a JDP server.
  • Field Details

  • Method Details

    • getMulticastAddress

      InetAddress getMulticastAddress()
      The multicast group to join.
      Returns:
      the InetAddress for the multicast group to join.
    • getMulticastPort

      int getMulticastPort()
      The multicast port to use.
      Returns:
      the multicast port to use.
    • getBroadcastPeriod

      int getBroadcastPeriod()
      The time to wait between broadcasts, in milliseconds.

      Note: the server will need to be restarted for any changes to take effect.

    • getTTL

      short getTTL()
      The "time to live" for the JDP packets. The time to live is by default 0, which means that no JDP packets will escape the subnet.

      Note: the server will need to be restarted for any changes to take effect.

    • getMaxHeartBeatTimeout

      int getMaxHeartBeatTimeout()
      Returns:
      the max time to wait for a new heart beat. Used for old style JDP packets that do not provide their broadcast interval, to timeout if the broadcaster is shut down after sending the first packet.