org.fourthline.cling.model
Class DiscoveryOptions
java.lang.Object
org.fourthline.cling.model.DiscoveryOptions
public class DiscoveryOptions
- extends Object
Options for discovery processing by the Registry
.
- Author:
- Christian Bauer
advertised
protected boolean advertised
byeByeBeforeFirstAlive
protected boolean byeByeBeforeFirstAlive
DiscoveryOptions
public DiscoveryOptions(boolean advertised)
- Parameters:
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)
- Parameters:
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.
isAdvertised
public boolean isAdvertised()
- Returns:
- true for regular advertisement with alive
messages and in search responses.
isByeByeBeforeFirstAlive
public boolean isByeByeBeforeFirstAlive()
- Returns:
- true if a byebye NOTIFY message will be send before the
first alive NOTIFY message.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.