$search
Public Member Functions | |
ServiceEvent | getServiceEvent (JmDNSImpl dns) |
ServiceInfo | getServiceInfo (boolean persistent) |
boolean | isSingleValued () |
Protected Member Functions | |
Address (String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique, int ttl, byte[] rawAddress) | |
Address (String name, DNSRecordType type, DNSRecordClass recordClass, boolean unique, int ttl, InetAddress addr) | |
void | toByteArray (DataOutputStream dout) throws IOException |
void | toString (StringBuilder aLog) |
Package Functions | |
DNSOutgoing | addAnswer (JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException |
InetAddress | getAddress () |
boolean | handleQuery (JmDNSImpl dns, long expirationTime) |
boolean | handleResponse (JmDNSImpl dns) |
boolean | same (DNSRecord other) |
boolean | sameName (DNSRecord other) |
boolean | sameValue (DNSRecord other) |
Package Attributes | |
InetAddress | _addr |
Static Private Attributes | |
static Logger | logger1 = Logger.getLogger(Address.class.getName()) |
Address record.
Definition at line 263 of file DNSRecord.java.
javax::jmdns::impl::DNSRecord::Address::Address | ( | String | name, | |
DNSRecordType | type, | |||
DNSRecordClass | recordClass, | |||
boolean | unique, | |||
int | ttl, | |||
InetAddress | addr | |||
) | [inline, protected] |
Definition at line 268 of file DNSRecord.java.
javax::jmdns::impl::DNSRecord::Address::Address | ( | String | name, | |
DNSRecordType | type, | |||
DNSRecordClass | recordClass, | |||
boolean | unique, | |||
int | ttl, | |||
byte[] | rawAddress | |||
) | [inline, protected] |
Definition at line 273 of file DNSRecord.java.
DNSOutgoing javax::jmdns::impl::DNSRecord::Address::addAnswer | ( | JmDNSImpl | dns, | |
DNSIncoming | in, | |||
InetAddress | addr, | |||
int | port, | |||
DNSOutgoing | out | |||
) | throws IOException [inline, package, virtual] |
Adds this as an answer to the provided outgoing datagram.
Implements javax::jmdns::impl::DNSRecord.
Definition at line 384 of file DNSRecord.java.
InetAddress javax::jmdns::impl::DNSRecord::Address::getAddress | ( | ) | [inline, package] |
Definition at line 310 of file DNSRecord.java.
ServiceEvent javax::jmdns::impl::DNSRecord::Address::getServiceEvent | ( | JmDNSImpl | dns | ) | [inline, virtual] |
Creates and return a service event for this record.
dns | DNS serviced by this event |
Implements javax::jmdns::impl::DNSRecord.
Definition at line 404 of file DNSRecord.java.
ServiceInfo javax::jmdns::impl::DNSRecord::Address::getServiceInfo | ( | boolean | persistent | ) | [inline, virtual] |
Return a service information associated with that record if appropriate.
persistent | if true ServiceListener.resolveService will be called whenever new new information is received. |
Implements javax::jmdns::impl::DNSRecord.
Reimplemented in javax::jmdns::impl::DNSRecord::IPv4Address, and javax::jmdns::impl::DNSRecord::IPv6Address.
Definition at line 393 of file DNSRecord.java.
boolean javax::jmdns::impl::DNSRecord::Address::handleQuery | ( | JmDNSImpl | dns, | |
long | expirationTime | |||
) | [inline, package, virtual] |
Does the necessary actions, when this as a query.
Implements javax::jmdns::impl::DNSRecord.
Definition at line 330 of file DNSRecord.java.
boolean javax::jmdns::impl::DNSRecord::Address::handleResponse | ( | JmDNSImpl | dns | ) | [inline, package, virtual] |
Does the necessary actions, when this as a response.
Implements javax::jmdns::impl::DNSRecord.
Definition at line 365 of file DNSRecord.java.
boolean javax::jmdns::impl::DNSRecord::Address::isSingleValued | ( | ) | [inline, virtual] |
Determine if a record can have multiple values in the cache.
false
if this record can have multiple values in the cache, true
otherwise. Implements javax::jmdns::impl::DNSRecord.
Definition at line 306 of file DNSRecord.java.
boolean javax::jmdns::impl::DNSRecord::Address::same | ( | DNSRecord | other | ) | [inline, package] |
Definition at line 282 of file DNSRecord.java.
boolean javax::jmdns::impl::DNSRecord::Address::sameName | ( | DNSRecord | other | ) | [inline, package] |
Definition at line 289 of file DNSRecord.java.
boolean javax::jmdns::impl::DNSRecord::Address::sameValue | ( | DNSRecord | other | ) | [inline, package, virtual] |
True if this record has the same value as some other record.
Implements javax::jmdns::impl::DNSRecord.
Definition at line 294 of file DNSRecord.java.
void javax::jmdns::impl::DNSRecord::Address::toByteArray | ( | DataOutputStream | dout | ) | throws IOException [inline, protected] |
Creates a byte array representation of this record. This is needed for tie-break tests according to draft-cheshire-dnsext-multicastdns-04.txt chapter 9.2.
Reimplemented from javax::jmdns::impl::DNSEntry.
Definition at line 318 of file DNSRecord.java.
void javax::jmdns::impl::DNSRecord::Address::toString | ( | StringBuilder | aLog | ) | [inline, protected] |
aLog |
Reimplemented from javax::jmdns::impl::DNSRecord.
Definition at line 415 of file DNSRecord.java.
InetAddress javax::jmdns::impl::DNSRecord::Address::_addr [package] |
Definition at line 266 of file DNSRecord.java.
Logger javax::jmdns::impl::DNSRecord::Address::logger1 = Logger.getLogger(Address.class.getName()) [static, private] |
Definition at line 264 of file DNSRecord.java.