|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainListener
A listener that receives results from DNSSD.enumerateDomains(int, int, com.apple.dnssd.DomainListener)
.
Method Summary | |
---|---|
void |
domainFound(DNSSDService domainEnum,
int flags,
int ifIndex,
java.lang.String domain)
Called to report discovered domains. |
void |
domainLost(DNSSDService domainEnum,
int flags,
int ifIndex,
java.lang.String domain)
Called to report that a domain has disappeared. |
Methods inherited from interface com.apple.dnssd.BaseListener |
---|
operationFailed |
Method Detail |
---|
void domainFound(DNSSDService domainEnum, int flags, int ifIndex, java.lang.String domain)
domainEnum
- The active domain enumerator.flags
- Possible values are: DNSSD.MORE_COMING, DNSSD.DEFAULT
ifIndex
- Specifies the interface on which the domain exists. (The index for a given
interface is determined via the if_nametoindex() family of calls.)
domain
- The name of the domain.void domainLost(DNSSDService domainEnum, int flags, int ifIndex, java.lang.String domain)
domainEnum
- The active domain enumerator.flags
- Possible values are: DNSSD.MORE_COMING, DNSSD.DEFAULT
ifIndex
- Specifies the interface on which the domain exists. (The index for a given
interface is determined via the if_nametoindex() family of calls.)
domain
- The name of the domain.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |