Package org.jupnp.model
Klasse DiscoveryOptions
java.lang.Object
org.jupnp.model.DiscoveryOptions
Options for discovery processing by the
Registry.- Autor:
- Christian Bauer
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprotected booleanprotected boolean -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDiscoveryOptions(boolean advertised) DiscoveryOptions(boolean advertised, boolean byeByeBeforeFirstAlive) -
Methodenübersicht
-
Felddetails
-
advertised
protected boolean advertised -
byeByeBeforeFirstAlive
protected boolean byeByeBeforeFirstAlive
-
-
Konstruktordetails
-
DiscoveryOptions
public DiscoveryOptions(boolean advertised) - Parameter:
advertised- Iffalse, 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- Iffalse, no alive notifications will be announced for this device and it will not appear in search responses.byeByeBeforeFirstAlive- Iftrue, 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
-