Modifier and Type | Field and Description |
---|---|
protected boolean |
advertised |
protected boolean |
byeByeBeforeFirstAlive |
Constructor and Description |
---|
DiscoveryOptions(boolean advertised) |
DiscoveryOptions(boolean advertised,
boolean byeByeBeforeFirstAlive) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAdvertised() |
boolean |
isByeByeBeforeFirstAlive() |
String |
toString() |
protected boolean advertised
protected boolean byeByeBeforeFirstAlive
public DiscoveryOptions(boolean advertised)
advertised
- If false
, no alive notifications will be announced for
this device and it will not appear in search responses.public DiscoveryOptions(boolean advertised, boolean byeByeBeforeFirstAlive)
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.public boolean isAdvertised()
public boolean isByeByeBeforeFirstAlive()
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.