public class BonjourPlatform

  1. Object
  2. BonjourPlatform

Platform-supplied implementation of the Bonjour / mDNS APIs. Application code talks to BonjourBrowser / BonjourPublisher; the facade fetches this via Display.getInstance().getBonjourPlatform().

Part of the framework’s service-provider interface, not intended for application use.

Constructors

public BonjourPlatform()

Methods

public boolean isSupported()
public Object startBrowse(String type, BonjourServiceListener listener)
public void stopBrowse(Object handle)
public Object startPublish(String name, String type, int port, Map<String, String> txt)
public void stopPublish(Object handle)

Inherited methods

Constructor details

BonjourPlatform

public BonjourPlatform()

Method details

isSupported

public boolean isSupported()

startBrowse

public Object startBrowse(String type, BonjourServiceListener listener)

stopBrowse

public void stopBrowse(Object handle)

startPublish

public Object startPublish(String name, String type, int port, Map<String, String> txt)

stopPublish

public void stopPublish(Object handle)