- getErrorCode() - Method in exception com.apple.dnssd.DNSSDException
-
Returns the sub-code that identifies the particular error.
- getErrorCode() - Method in exception com.apple.dnssd.DNSSDException
-
Returns the sub-code that identifies the particular error.
- getIfIndexForName(String) - Static method in class com.apple.dnssd.DNSSD
-
Return the index of a named interface.
- getIfIndexForName(String) - Static method in class com.apple.dnssd.DNSSD
-
Return the index of a named interface.
- getKey(int) - Method in class com.apple.dnssd.TXTRecord
-
Return a key in the TXT record by zero-based index.
- getKey(int) - Method in class com.apple.dnssd.TXTRecord
-
Return a key in the TXT record by zero-based index.
- getNameForIfIndex(int) - Static method in class com.apple.dnssd.DNSSD
-
Return the canonical name of a particular interface index.
- getNameForIfIndex(int) - Static method in class com.apple.dnssd.DNSSD
-
Return the canonical name of a particular interface index.
- getRawBytes() - Method in class com.apple.dnssd.TXTRecord
-
Return the contents of the TXT record as raw bytes.
- getRawBytes() - Method in class com.apple.dnssd.TXTRecord
-
Return the contents of the TXT record as raw bytes.
- getTXTRecord() - Method in interface com.apple.dnssd.DNSSDRegistration
-
Get a reference to the primary TXT record of a registered service.
- getTXTRecord() - Method in interface com.apple.dnssd.DNSSDRegistration
-
Get a reference to the primary TXT record of a registered service.
- getValue(int) - Method in class com.apple.dnssd.TXTRecord
-
Look up a key in the TXT record by zero-based index and return its value.
- getValue(String) - Method in class com.apple.dnssd.TXTRecord
-
Get the value associated with a key.
- getValue(int) - Method in class com.apple.dnssd.TXTRecord
-
Look up a key in the TXT record by zero-based index and return its value.
- getValue(String) - Method in class com.apple.dnssd.TXTRecord
-
Get the value associated with a key.
- getValueAsString(int) - Method in class com.apple.dnssd.TXTRecord
-
Converts the result of getValue() to a string in the platform default character set.
- getValueAsString(String) - Method in class com.apple.dnssd.TXTRecord
-
Converts the result of getValue() to a string in the platform default character set.
- getValueAsString(int) - Method in class com.apple.dnssd.TXTRecord
-
Converts the result of getValue() to a string in the platform default character set.
- getValueAsString(String) - Method in class com.apple.dnssd.TXTRecord
-
Converts the result of getValue() to a string in the platform default character set.
- reconfirmRecord(int, int, String, int, int, byte[]) - Static method in class com.apple.dnssd.DNSSD
-
Instruct the daemon to verify the validity of a resource record that appears to
be out of date.
- reconfirmRecord(int, int, String, int, int, byte[]) - Static method in class com.apple.dnssd.DNSSD
-
Instruct the daemon to verify the validity of a resource record that appears to
be out of date.
- recordRegistered(DNSRecord, int) - Method in interface com.apple.dnssd.RegisterRecordListener
-
Called when a record registration succeeds.
- recordRegistered(DNSRecord, int) - Method in interface com.apple.dnssd.RegisterRecordListener
-
Called when a record registration succeeds.
- REFUSED - Static variable in exception com.apple.dnssd.DNSSDException
-
- REFUSED - Static variable in exception com.apple.dnssd.DNSSDException
-
- register(int, int, String, String, String, String, int, TXTRecord, RegisterListener) - Static method in class com.apple.dnssd.DNSSD
-
Register a service, to be discovered via browse() and resolve() calls.
- register(String, String, int, RegisterListener) - Static method in class com.apple.dnssd.DNSSD
-
Register a service, to be discovered via browse() and resolve() calls.
- register(int, int, String, String, String, String, int, TXTRecord, RegisterListener) - Static method in class com.apple.dnssd.DNSSD
-
Register a service, to be discovered via browse() and resolve() calls.
- register(String, String, int, RegisterListener) - Static method in class com.apple.dnssd.DNSSD
-
Register a service, to be discovered via browse() and resolve() calls.
- RegisterListener - Interface in com.apple.dnssd
-
- RegisterListener - Interface in com.apple.dnssd
-
- registerRecord(int, int, String, int, int, byte[], int) - Method in interface com.apple.dnssd.DNSSDRecordRegistrar
-
- registerRecord(int, int, String, int, int, byte[], int) - Method in interface com.apple.dnssd.DNSSDRecordRegistrar
-
- RegisterRecordListener - Interface in com.apple.dnssd
-
- RegisterRecordListener - Interface in com.apple.dnssd
-
- REGISTRATION_DOMAINS - Static variable in class com.apple.dnssd.DNSSD
-
Set flag when calling enumerateDomains() to restrict results to domains recommended for registration.
- REGISTRATION_DOMAINS - Static variable in class com.apple.dnssd.DNSSD
-
Set flag when calling enumerateDomains() to restrict results to domains recommended for registration.
- remove() - Method in interface com.apple.dnssd.DNSRecord
-
Remove a registered resource record.
- remove() - Method in interface com.apple.dnssd.DNSRecord
-
Remove a registered resource record.
- remove(String) - Method in class com.apple.dnssd.TXTRecord
-
Remove a key/value pair from the TXT record.
- remove(String) - Method in class com.apple.dnssd.TXTRecord
-
Remove a key/value pair from the TXT record.
- resolve(int, int, String, String, String, ResolveListener) - Static method in class com.apple.dnssd.DNSSD
-
Resolve a service name discovered via browse() to a target host name, port number, and txt record.
- resolve(int, int, String, String, String, ResolveListener) - Static method in class com.apple.dnssd.DNSSD
-
Resolve a service name discovered via browse() to a target host name, port number, and txt record.
- ResolveListener - Interface in com.apple.dnssd
-
- ResolveListener - Interface in com.apple.dnssd
-
- serviceFound(DNSSDService, int, int, String, String, String) - Method in interface com.apple.dnssd.BrowseListener
-
Called to report discovered services.
- serviceFound(DNSSDService, int, int, String, String, String) - Method in interface com.apple.dnssd.BrowseListener
-
Called to report discovered services.
- serviceLost(DNSSDService, int, int, String, String, String) - Method in interface com.apple.dnssd.BrowseListener
-
Called to report services which have been deregistered.
- serviceLost(DNSSDService, int, int, String, String, String) - Method in interface com.apple.dnssd.BrowseListener
-
Called to report services which have been deregistered.
- serviceRegistered(DNSSDRegistration, int, String, String, String) - Method in interface com.apple.dnssd.RegisterListener
-
Called when a registration has been completed.
- serviceRegistered(DNSSDRegistration, int, String, String, String) - Method in interface com.apple.dnssd.RegisterListener
-
Called when a registration has been completed.
- serviceResolved(DNSSDService, int, int, String, String, int, TXTRecord) - Method in interface com.apple.dnssd.ResolveListener
-
Called when a service has been resolved.
- serviceResolved(DNSSDService, int, int, String, String, int, TXTRecord) - Method in interface com.apple.dnssd.ResolveListener
-
Called when a service has been resolved.
- set(String, String) - Method in class com.apple.dnssd.TXTRecord
-
Set a key/value pair in the TXT record.
- set(String, byte[]) - Method in class com.apple.dnssd.TXTRecord
-
Set a key/value pair in the TXT record.
- set(String, String) - Method in class com.apple.dnssd.TXTRecord
-
Set a key/value pair in the TXT record.
- set(String, byte[]) - Method in class com.apple.dnssd.TXTRecord
-
Set a key/value pair in the TXT record.
- SHARED - Static variable in class com.apple.dnssd.DNSSD
-
If flag is set, allow multiple records with this name on the network (e.g.
- SHARED - Static variable in class com.apple.dnssd.DNSSD
-
If flag is set, allow multiple records with this name on the network (e.g.
- size() - Method in class com.apple.dnssd.TXTRecord
-
Return the number of keys in the TXT record.
- size() - Method in class com.apple.dnssd.TXTRecord
-
Return the number of keys in the TXT record.
- stop() - Method in interface com.apple.dnssd.DNSSDService
-
Halt the active operation and free resources associated with the DNSSDService.
- stop() - Method in interface com.apple.dnssd.DNSSDService
-
Halt the active operation and free resources associated with the DNSSDService.