A B C D E F G I L M N O Q R S T U

A

addRecord(int, int, byte[], int) - Method in interface com.apple.dnssd.DNSSDRegistration
Add a record to a registered service.
addRecord(int, int, byte[], int) - Method in interface com.apple.dnssd.DNSSDRegistration
Add a record to a registered service.
ALL_INTERFACES - Static variable in class com.apple.dnssd.DNSSD
Pass for ifIndex to specify all available interfaces.
ALL_INTERFACES - Static variable in class com.apple.dnssd.DNSSD
Pass for ifIndex to specify all available interfaces.
ALREADY_REGISTERED - Static variable in exception com.apple.dnssd.DNSSDException
 
ALREADY_REGISTERED - Static variable in exception com.apple.dnssd.DNSSDException
 

B

BAD_FLAGS - Static variable in exception com.apple.dnssd.DNSSDException
 
BAD_FLAGS - Static variable in exception com.apple.dnssd.DNSSDException
 
BAD_INTERFACE_INDEX - Static variable in exception com.apple.dnssd.DNSSDException
 
BAD_INTERFACE_INDEX - Static variable in exception com.apple.dnssd.DNSSDException
 
BAD_PARAM - Static variable in exception com.apple.dnssd.DNSSDException
 
BAD_PARAM - Static variable in exception com.apple.dnssd.DNSSDException
 
BAD_REFERENCE - Static variable in exception com.apple.dnssd.DNSSDException
 
BAD_REFERENCE - Static variable in exception com.apple.dnssd.DNSSDException
 
BAD_STATE - Static variable in exception com.apple.dnssd.DNSSDException
 
BAD_STATE - Static variable in exception com.apple.dnssd.DNSSDException
 
BADKEY - Static variable in exception com.apple.dnssd.DNSSDException
 
BADKEY - Static variable in exception com.apple.dnssd.DNSSDException
 
BADSIG - Static variable in exception com.apple.dnssd.DNSSDException
 
BADSIG - Static variable in exception com.apple.dnssd.DNSSDException
 
BADTIME - Static variable in exception com.apple.dnssd.DNSSDException
 
BADTIME - Static variable in exception com.apple.dnssd.DNSSDException
 
BaseListener - Interface in com.apple.dnssd
A base class for DNSSD listeners.
BaseListener - Interface in com.apple.dnssd
A base class for DNSSD listeners.
browse(int, int, String, String, BrowseListener) - Static method in class com.apple.dnssd.DNSSD
Browse for instances of a service.
browse(String, BrowseListener) - Static method in class com.apple.dnssd.DNSSD
Browse for instances of a service.
browse(int, int, String, String, BrowseListener) - Static method in class com.apple.dnssd.DNSSD
Browse for instances of a service.
browse(String, BrowseListener) - Static method in class com.apple.dnssd.DNSSD
Browse for instances of a service.
BROWSE_DOMAINS - Static variable in class com.apple.dnssd.DNSSD
Set flag when calling enumerateDomains() to restrict results to domains recommended for browsing.
BROWSE_DOMAINS - Static variable in class com.apple.dnssd.DNSSD
Set flag when calling enumerateDomains() to restrict results to domains recommended for browsing.
BrowseListener - Interface in com.apple.dnssd
A listener that receives results from DNSSD.browse(int, int, java.lang.String, java.lang.String, com.apple.dnssd.BrowseListener).
BrowseListener - Interface in com.apple.dnssd
A listener that receives results from DNSSD.browse(int, int, java.lang.String, java.lang.String, com.apple.dnssd.BrowseListener).

C

com.apple.dnssd - package com.apple.dnssd
 
constructFullName(String, String, String) - Static method in class com.apple.dnssd.DNSSD
Concatenate a three-part domain name (as provided to the listeners) into a properly-escaped full domain name.
constructFullName(String, String, String) - Static method in class com.apple.dnssd.DNSSD
Concatenate a three-part domain name (as provided to the listeners) into a properly-escaped full domain name.
contains(String) - Method in class com.apple.dnssd.TXTRecord
Return true if key is present in the TXT record, false if not.
contains(String) - Method in class com.apple.dnssd.TXTRecord
Return true if key is present in the TXT record, false if not.
createRecordRegistrar(RegisterRecordListener) - Static method in class com.apple.dnssd.DNSSD
Create a DNSSDRecordRegistrar allowing efficient registration of multiple individual records.
createRecordRegistrar(RegisterRecordListener) - Static method in class com.apple.dnssd.DNSSD
Create a DNSSDRecordRegistrar allowing efficient registration of multiple individual records.

D

DEFAULT - Static variable in class com.apple.dnssd.DNSSD
If flag is set in a DomainListener callback, indicates that the result is the default domain.
DEFAULT - Static variable in class com.apple.dnssd.DNSSD
If flag is set in a DomainListener callback, indicates that the result is the default domain.
DNSRecord - Interface in com.apple.dnssd
Reference to a record returned by DNSSDRegistration.addRecord(int, int, byte[], int).
DNSRecord - Interface in com.apple.dnssd
Reference to a record returned by DNSSDRegistration.addRecord(int, int, byte[], int).
DNSSD - Class in com.apple.dnssd
DNSSD provides access to DNS Service Discovery features of ZeroConf networking.
DNSSD - Class in com.apple.dnssd
DNSSD provides access to DNS Service Discovery features of ZeroConf networking.
DNSSDException - Exception in com.apple.dnssd
Used to report various DNS-SD-related error conditions.
DNSSDException - Exception in com.apple.dnssd
Used to report various DNS-SD-related error conditions.
DNSSDException() - Constructor for exception com.apple.dnssd.DNSSDException
 
DNSSDException() - Constructor for exception com.apple.dnssd.DNSSDException
 
DNSSDRecordRegistrar - Interface in com.apple.dnssd
An object for registering records, created by DNSSD.createRecordRegistrar(com.apple.dnssd.RegisterRecordListener).
DNSSDRecordRegistrar - Interface in com.apple.dnssd
An object for registering records, created by DNSSD.createRecordRegistrar(com.apple.dnssd.RegisterRecordListener).
DNSSDRegistration - Interface in com.apple.dnssd
A tracking object for a registration created by DNSSD.register(int, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, com.apple.dnssd.TXTRecord, com.apple.dnssd.RegisterListener).
DNSSDRegistration - Interface in com.apple.dnssd
A tracking object for a registration created by DNSSD.register(int, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, com.apple.dnssd.TXTRecord, com.apple.dnssd.RegisterListener).
DNSSDService - Interface in com.apple.dnssd
A tracking object for a service created by DNSSD.
DNSSDService - Interface in com.apple.dnssd
A tracking object for a service created by DNSSD.
domainFound(DNSSDService, int, int, String) - Method in interface com.apple.dnssd.DomainListener
Called to report discovered domains.
domainFound(DNSSDService, int, int, String) - Method in interface com.apple.dnssd.DomainListener
Called to report discovered domains.
DomainListener - Interface in com.apple.dnssd
A listener that receives results from DNSSD.enumerateDomains(int, int, com.apple.dnssd.DomainListener).
DomainListener - Interface in com.apple.dnssd
A listener that receives results from DNSSD.enumerateDomains(int, int, com.apple.dnssd.DomainListener).
domainLost(DNSSDService, int, int, String) - Method in interface com.apple.dnssd.DomainListener
Called to report that a domain has disappeared.
domainLost(DNSSDService, int, int, String) - Method in interface com.apple.dnssd.DomainListener
Called to report that a domain has disappeared.
DOUBLENAT - Static variable in exception com.apple.dnssd.DNSSDException
 
DOUBLENAT - Static variable in exception com.apple.dnssd.DNSSDException
 

E

enumerateDomains(int, int, DomainListener) - Static method in class com.apple.dnssd.DNSSD
Asynchronously enumerate domains available for browsing and registration.
enumerateDomains(int, int, DomainListener) - Static method in class com.apple.dnssd.DNSSD
Asynchronously enumerate domains available for browsing and registration.

F

FIREWALL - Static variable in exception com.apple.dnssd.DNSSDException
 
FIREWALL - Static variable in exception com.apple.dnssd.DNSSDException
 

G

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.

I

INCOMPATIBLE - Static variable in exception com.apple.dnssd.DNSSDException
 
INCOMPATIBLE - Static variable in exception com.apple.dnssd.DNSSDException
 
INVALID - Static variable in exception com.apple.dnssd.DNSSDException
 
INVALID - Static variable in exception com.apple.dnssd.DNSSDException
 

L

LOCALHOST_ONLY - Static variable in class com.apple.dnssd.DNSSD
Pass for ifIndex to specify the localhost interface.
LOCALHOST_ONLY - Static variable in class com.apple.dnssd.DNSSD
Pass for ifIndex to specify the localhost interface.

M

MAX_DOMAIN_NAME - Static variable in class com.apple.dnssd.DNSSD
Maximum length, in bytes, of a domain name represented as an escaped C-String.
MAX_DOMAIN_NAME - Static variable in class com.apple.dnssd.DNSSD
Maximum length, in bytes, of a domain name represented as an escaped C-String.
MORE_COMING - Static variable in class com.apple.dnssd.DNSSD
Flag indicates to a BrowseListener that another result is queued.
MORE_COMING - Static variable in class com.apple.dnssd.DNSSD
Flag indicates to a BrowseListener that another result is queued.

N

NAME_CONFLICT - Static variable in exception com.apple.dnssd.DNSSDException
 
NAME_CONFLICT - Static variable in exception com.apple.dnssd.DNSSDException
 
NATTRAVERSAL - Static variable in exception com.apple.dnssd.DNSSDException
 
NATTRAVERSAL - Static variable in exception com.apple.dnssd.DNSSDException
 
NO_AUTO_RENAME - Static variable in class com.apple.dnssd.DNSSD
If flag is set, a name conflict will trigger an exception when registering non-shared records.
NO_AUTO_RENAME - Static variable in class com.apple.dnssd.DNSSD
If flag is set, a name conflict will trigger an exception when registering non-shared records.
NO_CACHE - Static variable in exception com.apple.dnssd.DNSSDException
 
NO_CACHE - Static variable in exception com.apple.dnssd.DNSSDException
 
NO_ERROR - Static variable in exception com.apple.dnssd.DNSSDException
 
NO_ERROR - Static variable in exception com.apple.dnssd.DNSSDException
 
NO_MEMORY - Static variable in exception com.apple.dnssd.DNSSDException
 
NO_MEMORY - Static variable in exception com.apple.dnssd.DNSSDException
 
NO_SUCH_NAME - Static variable in exception com.apple.dnssd.DNSSDException
 
NO_SUCH_NAME - Static variable in exception com.apple.dnssd.DNSSDException
 
NOAUTH - Static variable in exception com.apple.dnssd.DNSSDException
 
NOAUTH - Static variable in exception com.apple.dnssd.DNSSDException
 
NOSUCHKEY - Static variable in exception com.apple.dnssd.DNSSDException
 
NOSUCHKEY - Static variable in exception com.apple.dnssd.DNSSDException
 
NOSUCHRECORD - Static variable in exception com.apple.dnssd.DNSSDException
 
NOSUCHRECORD - Static variable in exception com.apple.dnssd.DNSSDException
 
NOT_INITIALIZED - Static variable in exception com.apple.dnssd.DNSSDException
 
NOT_INITIALIZED - Static variable in exception com.apple.dnssd.DNSSDException
 

O

operationFailed(DNSSDService, int) - Method in interface com.apple.dnssd.BaseListener
Called to report DNSSD operation failures.
operationFailed(DNSSDService, int) - Method in interface com.apple.dnssd.BaseListener
Called to report DNSSD operation failures.

Q

queryAnswered(DNSSDService, int, int, String, int, int, byte[], int) - Method in interface com.apple.dnssd.QueryListener
Called when a record query has been completed.
queryAnswered(DNSSDService, int, int, String, int, int, byte[], int) - Method in interface com.apple.dnssd.QueryListener
Called when a record query has been completed.
QueryListener - Interface in com.apple.dnssd
A listener that receives results from DNSSD.queryRecord(int, int, java.lang.String, int, int, com.apple.dnssd.QueryListener).
QueryListener - Interface in com.apple.dnssd
A listener that receives results from DNSSD.queryRecord(int, int, java.lang.String, int, int, com.apple.dnssd.QueryListener).
queryRecord(int, int, String, int, int, QueryListener) - Static method in class com.apple.dnssd.DNSSD
Query for an arbitrary DNS record.
queryRecord(int, int, String, int, int, QueryListener) - Static method in class com.apple.dnssd.DNSSD
Query for an arbitrary DNS record.

R

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
A listener that receives results from DNSSD.register(int, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, com.apple.dnssd.TXTRecord, com.apple.dnssd.RegisterListener).
RegisterListener - Interface in com.apple.dnssd
A listener that receives results from DNSSD.register(int, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, com.apple.dnssd.TXTRecord, com.apple.dnssd.RegisterListener).
registerRecord(int, int, String, int, int, byte[], int) - Method in interface com.apple.dnssd.DNSSDRecordRegistrar
Register an independent DNSRecord.
registerRecord(int, int, String, int, int, byte[], int) - Method in interface com.apple.dnssd.DNSSDRecordRegistrar
Register an independent DNSRecord.
RegisterRecordListener - Interface in com.apple.dnssd
A listener that receives results from DNSSDRecordRegistrar.registerRecord(int, int, java.lang.String, int, int, byte[], int).
RegisterRecordListener - Interface in com.apple.dnssd
A listener that receives results from DNSSDRecordRegistrar.registerRecord(int, int, java.lang.String, int, int, byte[], int).
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
A listener that receives results from DNSSD.resolve(int, int, java.lang.String, java.lang.String, java.lang.String, com.apple.dnssd.ResolveListener).
ResolveListener - Interface in com.apple.dnssd
A listener that receives results from DNSSD.resolve(int, int, java.lang.String, java.lang.String, java.lang.String, com.apple.dnssd.ResolveListener).

S

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.

T

toString() - Method in class com.apple.dnssd.TXTRecord
Return a string representation of the object.
toString() - Method in class com.apple.dnssd.TXTRecord
Return a string representation of the object.
TRANSIENT - Static variable in exception com.apple.dnssd.DNSSDException
 
TRANSIENT - Static variable in exception com.apple.dnssd.DNSSDException
 
TXTRecord - Class in com.apple.dnssd
Object used to construct and parse DNS-SD format TXT records.
TXTRecord - Class in com.apple.dnssd
Object used to construct and parse DNS-SD format TXT records.
TXTRecord() - Constructor for class com.apple.dnssd.TXTRecord
Constructs a new, empty TXT record.
TXTRecord(byte[]) - Constructor for class com.apple.dnssd.TXTRecord
Constructs a new TXT record from a byte array in the standard format.
TXTRecord() - Constructor for class com.apple.dnssd.TXTRecord
Constructs a new, empty TXT record.
TXTRecord(byte[]) - Constructor for class com.apple.dnssd.TXTRecord
Constructs a new TXT record from a byte array in the standard format.

U

UNIQUE - Static variable in class com.apple.dnssd.DNSSD
If flag is set, records with this name must be unique on the network (e.g.
UNIQUE - Static variable in class com.apple.dnssd.DNSSD
If flag is set, records with this name must be unique on the network (e.g.
UNKNOWN - Static variable in exception com.apple.dnssd.DNSSDException
 
UNKNOWN - Static variable in exception com.apple.dnssd.DNSSDException
 
UNSUPPORTED - Static variable in exception com.apple.dnssd.DNSSDException
 
UNSUPPORTED - Static variable in exception com.apple.dnssd.DNSSDException
 
update(int, byte[], int) - Method in interface com.apple.dnssd.DNSRecord
Update a registered resource record.
update(int, byte[], int) - Method in interface com.apple.dnssd.DNSRecord
Update a registered resource record.

A B C D E F G I L M N O Q R S T U