YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
org.fourthline.cling.model.DiscoveryOptions Class Reference

Options for discovery processing by the org.fourthline.cling.registry.Registry. More...

Collaboration diagram for org.fourthline.cling.model.DiscoveryOptions:
Collaboration graph

Public Member Functions

 DiscoveryOptions (boolean advertised)
 
 DiscoveryOptions (boolean advertised, boolean byeByeBeforeFirstAlive)
 
boolean isAdvertised ()
 
boolean isByeByeBeforeFirstAlive ()
 
String toString ()
 

Protected Attributes

boolean advertised
 
boolean byeByeBeforeFirstAlive
 

Detailed Description

Options for discovery processing by the org.fourthline.cling.registry.Registry.

Author
Christian Bauer

Constructor & Destructor Documentation

◆ DiscoveryOptions() [1/2]

org.fourthline.cling.model.DiscoveryOptions.DiscoveryOptions ( boolean  advertised)
Parameters
advertisedIf false, no alive notifications will be announced for this device and it will not appear in search responses.

◆ DiscoveryOptions() [2/2]

org.fourthline.cling.model.DiscoveryOptions.DiscoveryOptions ( boolean  advertised,
boolean  byeByeBeforeFirstAlive 
)
Parameters
advertisedIf false, no alive notifications will be announced for this device and it will not appear in search responses.
byeByeBeforeFirstAliveIf true, a byebye NOTIFY message will be send before the first alive NOTIFY message.

Member Function Documentation

◆ isAdvertised()

boolean org.fourthline.cling.model.DiscoveryOptions.isAdvertised ( )
Returns
<boolean>true</boolean> for regular advertisement with alive messages and in search responses.

◆ isByeByeBeforeFirstAlive()

boolean org.fourthline.cling.model.DiscoveryOptions.isByeByeBeforeFirstAlive ( )
Returns
<boolean>true</boolean> if a byebye NOTIFY message will be send before the first alive NOTIFY message.

The documentation for this class was generated from the following file: