Package javax.jmdns.impl
Class DNSRecord.IPv4Address
java.lang.Object
javax.jmdns.impl.DNSEntry
javax.jmdns.impl.DNSRecord
javax.jmdns.impl.DNSRecord.Address
javax.jmdns.impl.DNSRecord.IPv4Address
- Enclosing class:
DNSRecord
-
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 -
Field Summary
Fields inherited from class javax.jmdns.impl.DNSRecord.Address
_addrFields inherited from class javax.jmdns.impl.DNSEntry
_qualifiedNameMap -
Constructor Summary
ConstructorsConstructorDescriptionIPv4Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, byte[] rawAddress) IPv4Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, InetAddress addr) -
Method Summary
Modifier and TypeMethodDescriptiongetServiceInfo(boolean persistent) Return a service information associated with that record if appropriate.(package private) voidWrite this record into an outgoing message.Methods inherited from class javax.jmdns.impl.DNSRecord.Address
addAnswer, getAddress, getServiceEvent, handleQuery, handleResponse, isSingleValued, same, sameName, sameValue, toByteArray, toStringMethods inherited from class javax.jmdns.impl.DNSRecord
equals, getCreated, getExpirationTime, getRecordSource, getRemainingTTL, getServiceInfo, getTTL, incrementRefreshPercentage, isExpired, isStale, isStaleAndShouldBeRefreshed, resetTTL, sameType, setRecordSource, setTTL, setWillExpireSoon, suppressedBy, suppressedByMethods inherited from class javax.jmdns.impl.DNSEntry
compareTo, getKey, getName, getQualifiedNameMap, getRecordClass, getRecordType, getSubtype, getType, hashCode, isDomainDiscoveryQuery, isReverseLookup, isSameEntry, isSameRecordClass, isSameType, isServicesDiscoveryMetaQuery, isUnique, isV4ReverseLookup, isV6ReverseLookup, matchRecordClass, matchRecordType, sameSubtype, toByteArray, toString
-
Constructor Details
-
IPv4Address
IPv4Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, InetAddress addr) -
IPv4Address
IPv4Address(String name, DNSRecordClass recordClass, boolean unique, int ttl, byte[] rawAddress)
-
-
Method Details
-
write
Description copied from class:DNSRecordWrite this record into an outgoing message. -
getServiceInfo
Description copied from class:DNSRecordReturn a service information associated with that record if appropriate.- Overrides:
getServiceInfoin classDNSRecord.Address- Parameters:
persistent- iftrueServiceListener.resolveService will be called whenever new new information is received.- Returns:
- service information
-