Class BonjourPlatform

java.lang.Object
com.codename1.io.bonjour.BonjourPlatform

public class BonjourPlatform extends java.lang.Object

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.

  • Constructor Details

    • BonjourPlatform

      public BonjourPlatform()
  • Method Details

    • isSupported

      public boolean isSupported()
    • startBrowse

      public java.lang.Object startBrowse(String type, BonjourServiceListener listener)
    • stopBrowse

      public void stopBrowse(java.lang.Object handle)
    • startPublish

      public java.lang.Object startPublish(String name, String type, int port, Map<String,String> txt)
    • stopPublish

      public void stopPublish(java.lang.Object handle)