Klasse DiscoveryOptions

java.lang.Object
org.jupnp.model.DiscoveryOptions

public class DiscoveryOptions extends Object
Options for discovery processing by the Registry.
Autor:
Christian Bauer
  • Felddetails

    • advertised

      protected boolean advertised
    • byeByeBeforeFirstAlive

      protected boolean byeByeBeforeFirstAlive
  • Konstruktordetails

    • DiscoveryOptions

      public DiscoveryOptions(boolean advertised)
      Parameter:
      advertised - If false, no alive notifications will be announced for this device and it will not appear in search responses.
    • DiscoveryOptions

      public DiscoveryOptions(boolean advertised, boolean byeByeBeforeFirstAlive)
      Parameter:
      advertised - If false, no alive notifications will be announced for this device and it will not appear in search responses.
      byeByeBeforeFirstAlive - If true, a byebye NOTIFY message will be send before the first alive NOTIFY message.
  • Methodendetails

    • isAdvertised

      public boolean isAdvertised()
      Gibt zurück:
      true for regular advertisement with alive messages and in search responses.
    • isByeByeBeforeFirstAlive

      public boolean isByeByeBeforeFirstAlive()
      Gibt zurück:
      true if a byebye NOTIFY message will be send before the first alive NOTIFY message.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object