Class BonjourService
java.lang.Object
com.codename1.io.bonjour.BonjourService
public final class BonjourService
extends java.lang.Object
A Bonjour / mDNS service discovered by
BonjourBrowser or registered by
BonjourPublisher. Immutable.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
BonjourService
-
-
Method Details
-
getName
User-visible service name. May include a numeric suffix added by the platform to resolve name collisions on the subnet. -
getType
mDNS service type (e.g._http._tcp.). -
getHost
Resolved host. Either a dotted-quad IPv4, an IPv6 literal in square brackets, or a.local.hostname.nullif the service is announced but the address has not been resolved yet. -
getPort
public int getPort()Service port. -
getTxt
-
toString
- Overrides:
toStringin classjava.lang.Object
-