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
public static class DNSRecord.IPv4Address extends DNSRecord.Address
-
-
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
_addr
-
Fields inherited from class javax.jmdns.impl.DNSEntry
_qualifiedNameMap
-
-
Constructor Summary
Constructors Constructor Description IPv4Address(java.lang.String name, DNSRecordClass recordClass, boolean unique, int ttl, byte[] rawAddress)
IPv4Address(java.lang.String name, DNSRecordClass recordClass, boolean unique, int ttl, java.net.InetAddress addr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceInfo
getServiceInfo(boolean persistent)
Return a service information associated with that record if appropriate.(package private) void
write(DNSOutgoing.MessageOutputStream out)
Write 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, toString
-
Methods inherited from class javax.jmdns.impl.DNSRecord
equals, getCreated, getExpirationTime, getRecordSource, getRemainingTTL, getServiceInfo, getTTL, incrementRefreshPercentage, isExpired, isStale, isStaleAndShouldBeRefreshed, resetTTL, sameType, setRecordSource, setTTL, setWillExpireSoon, suppressedBy, suppressedBy
-
Methods 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 Detail
-
IPv4Address
IPv4Address(java.lang.String name, DNSRecordClass recordClass, boolean unique, int ttl, java.net.InetAddress addr)
-
IPv4Address
IPv4Address(java.lang.String name, DNSRecordClass recordClass, boolean unique, int ttl, byte[] rawAddress)
-
-
Method Detail
-
write
void write(DNSOutgoing.MessageOutputStream out)
Description copied from class:DNSRecord
Write this record into an outgoing message.
-
getServiceInfo
public ServiceInfo getServiceInfo(boolean persistent)
Description copied from class:DNSRecord
Return a service information associated with that record if appropriate.- Overrides:
getServiceInfo
in classDNSRecord.Address
- Parameters:
persistent
- iftrue
ServiceListener.resolveService will be called whenever new new information is received.- Returns:
- service information
-
-