$search
Public Member Functions | |
ServiceEvent | getServiceEvent (JmDNSImpl dns) |
ServiceInfo | getServiceInfo (boolean persistent) |
boolean | isSameEntry (DNSEntry entry) |
boolean | isSingleValued () |
Pointer (String name, DNSRecordClass recordClass, boolean unique, int ttl, String alias) | |
Protected Member Functions | |
void | toString (StringBuilder aLog) |
Package Functions | |
DNSOutgoing | addAnswer (JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException |
String | getAlias () |
boolean | handleQuery (JmDNSImpl dns, long expirationTime) |
boolean | handleResponse (JmDNSImpl dns) |
boolean | sameValue (DNSRecord other) |
void | write (MessageOutputStream out) |
Private Attributes | |
final String | _alias |
Pointer record.
Definition at line 425 of file DNSRecord.java.
javax::jmdns::impl::DNSRecord::Pointer::Pointer | ( | String | name, | |
DNSRecordClass | recordClass, | |||
boolean | unique, | |||
int | ttl, | |||
String | alias | |||
) | [inline] |
Definition at line 429 of file DNSRecord.java.
DNSOutgoing javax::jmdns::impl::DNSRecord::Pointer::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 484 of file DNSRecord.java.
String javax::jmdns::impl::DNSRecord::Pointer::getAlias | ( | ) | [inline, package] |
Definition at line 479 of file DNSRecord.java.
ServiceEvent javax::jmdns::impl::DNSRecord::Pointer::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 514 of file DNSRecord.java.
ServiceInfo javax::jmdns::impl::DNSRecord::Pointer::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.
Definition at line 493 of file DNSRecord.java.
boolean javax::jmdns::impl::DNSRecord::Pointer::handleQuery | ( | JmDNSImpl | dns, | |
long | expirationTime | |||
) | [inline, package, virtual] |
Handles a query represented by this record.
Implements javax::jmdns::impl::DNSRecord.
Definition at line 466 of file DNSRecord.java.
boolean javax::jmdns::impl::DNSRecord::Pointer::handleResponse | ( | JmDNSImpl | dns | ) | [inline, package, virtual] |
Handles a response represented by this record.
Implements javax::jmdns::impl::DNSRecord.
Definition at line 473 of file DNSRecord.java.
boolean javax::jmdns::impl::DNSRecord::Pointer::isSameEntry | ( | DNSEntry | entry | ) | [inline] |
Check if two entries have exactly the same name, type, and class.
entry |
true
if the two entries have are for the same record, false
otherwise Reimplemented from javax::jmdns::impl::DNSEntry.
Definition at line 439 of file DNSRecord.java.
boolean javax::jmdns::impl::DNSRecord::Pointer::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 461 of file DNSRecord.java.
boolean javax::jmdns::impl::DNSRecord::Pointer::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 449 of file DNSRecord.java.
void javax::jmdns::impl::DNSRecord::Pointer::toString | ( | StringBuilder | aLog | ) | [inline, protected] |
aLog |
Reimplemented from javax::jmdns::impl::DNSRecord.
Definition at line 527 of file DNSRecord.java.
void javax::jmdns::impl::DNSRecord::Pointer::write | ( | MessageOutputStream | out | ) | [inline, package, virtual] |
Write this record into an outgoing message.
Implements javax::jmdns::impl::DNSRecord.
Definition at line 444 of file DNSRecord.java.
final String javax::jmdns::impl::DNSRecord::Pointer::_alias [private] |
Definition at line 427 of file DNSRecord.java.