Package javax.jmdns.impl
Class DNSRecord.Pointer
java.lang.Object
javax.jmdns.impl.DNSEntry
javax.jmdns.impl.DNSRecord
javax.jmdns.impl.DNSRecord.Pointer
- Enclosing class:
DNSRecord
Pointer record.
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.jmdns.impl.DNSRecord
DNSRecord.Address, DNSRecord.HostInformation, DNSRecord.IPv4Address, DNSRecord.IPv6Address, DNSRecord.Pointer, DNSRecord.Service, DNSRecord.Text -
Constructor Summary
ConstructorsConstructorDescriptionPointer(String name, DNSRecordClass recordClass, boolean unique, int ttl, String alias) -
Method Summary
Modifier and TypeMethodDescriptiongetServiceEvent(JmDNSImpl dns) Creates and return a service event for this record.getServiceInfo(boolean persistent) Return a service information associated with that record if appropriate.booleanisSameEntry(DNSEntry entry) Check if two entries have exactly the same name, type, and class.booleanDetermine if a record can have multiple values in the cache.protected voidMethods inherited from class javax.jmdns.impl.DNSRecord
equals, getCreated, getRecordSource, getServiceInfo, getTTL, incrementRefreshPercentage, isExpired, isStale, isStaleAndShouldBeRefreshed, setRecordSource, setTTLMethods inherited from class javax.jmdns.impl.DNSEntry
compareTo, getKey, getName, getQualifiedNameMap, getRecordClass, getRecordType, getSubtype, getType, hashCode, isDomainDiscoveryQuery, isReverseLookup, isSameRecordClass, isSameType, isServicesDiscoveryMetaQuery, isUnique, isV4ReverseLookup, isV6ReverseLookup, matchRecordClass, matchRecordType, sameSubtype, toByteArray, toByteArray, toString
-
Constructor Details
-
Pointer
-
-
Method Details
-
isSameEntry
Description copied from class:DNSEntryCheck if two entries have exactly the same name, type, and class.- Overrides:
isSameEntryin classDNSEntry- Parameters:
entry-- Returns:
trueif the two entries have are for the same record,falseotherwise
-
isSingleValued
public boolean isSingleValued()Description copied from class:DNSRecordDetermine if a record can have multiple values in the cache.- Specified by:
isSingleValuedin classDNSRecord- Returns:
falseif this record can have multiple values in the cache,trueotherwise.
-
getServiceInfo
Description copied from class:DNSRecordReturn a service information associated with that record if appropriate.- Specified by:
getServiceInfoin classDNSRecord- Parameters:
persistent- iftrueServiceListener.resolveService will be called whenever new new information is received.- Returns:
- service information
-
getServiceEvent
Description copied from class:DNSRecordCreates and return a service event for this record.- Specified by:
getServiceEventin classDNSRecord- Parameters:
dns- DNS serviced by this event- Returns:
- service event
-
toString
-