DNSRecord.Address, DNSRecord.HostInformation, DNSRecord.IPv4Address, DNSRecord.IPv6Address, DNSRecord.Pointer, DNSRecord.Service, DNSRecord.Text| Constructor and Description |
|---|
DNSRecord.Pointer(java.lang.String name,
DNSRecordClass recordClass,
boolean unique,
int ttl,
java.lang.String alias) |
| Modifier and Type | Method and Description |
|---|---|
ServiceEvent |
getServiceEvent(JmDNSImpl dns)
Creates and return a service event for this record.
|
ServiceInfo |
getServiceInfo(boolean persistent)
Return a service information associated with that record if appropriate.
|
boolean |
isSameEntry(DNSEntry entry)
Check if two entries have exactly the same name, type, and class.
|
boolean |
isSingleValued()
Determine if a record can have multiple values in the cache.
|
protected void |
toString(java.lang.StringBuilder aLog) |
equals, getRecordSource, getServiceInfo, getTTL, isExpired, isStale, setRecordSource, setTTLcompareTo, getKey, getName, getQualifiedNameMap, getRecordClass, getRecordType, getSubtype, getType, hashCode, isDomainDiscoveryQuery, isReverseLookup, isSameRecordClass, isSameType, isServicesDiscoveryMetaQuery, isUnique, isV4ReverseLookup, isV6ReverseLookup, sameSubtype, toByteArray, toByteArray, toStringpublic DNSRecord.Pointer(java.lang.String name,
DNSRecordClass recordClass,
boolean unique,
int ttl,
java.lang.String alias)
public boolean isSameEntry(DNSEntry entry)
DNSEntryisSameEntry in class DNSEntrytrue if the two entries have are for the same record, false otherwisepublic boolean isSingleValued()
DNSRecordisSingleValued in class DNSRecordfalse if this record can have multiple values in the cache, true otherwise.public ServiceInfo getServiceInfo(boolean persistent)
DNSRecordgetServiceInfo in class DNSRecordpersistent - if true ServiceListener.resolveService will be called whenever new new information is received.public ServiceEvent getServiceEvent(JmDNSImpl dns)
DNSRecordgetServiceEvent in class DNSRecorddns - DNS serviced by this event