|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBonjourBrowserImpl
Class to implement the BonjourBrowserInterface
Field Summary | |
protected BonjourBrowser |
_browser
BonjourBrowser instance for the browser |
protected com.apple.dnssd.DNSSDService |
_browser_for_single_services
DNSSDService instance for single services |
boolean |
_ignore_tree_expansion
Ignores tree expansion, if true. |
protected java.util.HashMap |
_map
Hash map for the tree of the browser |
protected BonjourBrowserSingleServiceListener |
_single_service_listener
BonjourBrowserSingleServiceListener instance for single services of the browser |
Constructor Summary | |
BonjourBrowserImpl(BonjourBrowser browser)
Constructs a new BonjourBrowserImpl. |
Method Summary | |
boolean |
addGeneralNode(BonjourBrowserElement element)
Adds a general service type node to the JTree. |
boolean |
addNode(BonjourBrowserElement element)
Adds a node about BonjourBrowserElement to the JTree. |
boolean |
removeNode(BonjourBrowserElement element)
Removes a node about BonjourBrowserElement from the JTree. |
boolean |
resolveNode(BonjourBrowserElement element)
Updates a node with the resolved info in the JTree. |
boolean |
subscribe(java.lang.String domain,
java.lang.String regType)
Subscribes a service provider with the domain to the service type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean _ignore_tree_expansion
protected java.util.HashMap _map
protected BonjourBrowser _browser
protected BonjourBrowserSingleServiceListener _single_service_listener
protected com.apple.dnssd.DNSSDService _browser_for_single_services
Constructor Detail |
public BonjourBrowserImpl(BonjourBrowser browser)
browser
- BonjourBrowser instance of the browserMethod Detail |
public boolean addGeneralNode(BonjourBrowserElement element)
addGeneralNode
in interface BonjourBrowserInterface
element
- BonjourBrowserElement instancepublic boolean subscribe(java.lang.String domain, java.lang.String regType)
subscribe
in interface BonjourBrowserInterface
domain
- service provider domainregType
- service typepublic boolean addNode(BonjourBrowserElement element)
addNode
in interface BonjourBrowserInterface
element
- BonjourBrowserElement instancepublic boolean removeNode(BonjourBrowserElement element)
removeNode
in interface BonjourBrowserInterface
element
- BonjourBrowserElement instancepublic boolean resolveNode(BonjourBrowserElement element)
resolveNode
in interface BonjourBrowserInterface
element
- BonjourBrowserElement instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |