Public Member Functions | |
ServiceEvent | getServiceEvent (JmDNSImpl dns) |
ServiceInfo | getServiceInfo (boolean persistent) |
boolean | isSingleValued () |
Text (String name, DNSRecordClass recordClass, boolean unique, int ttl, byte text[]) | |
Protected Member Functions | |
void | toString (StringBuilder aLog) |
Package Functions | |
DNSOutgoing | addAnswer (JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException |
byte[] | getText () |
boolean | handleQuery (JmDNSImpl dns, long expirationTime) |
boolean | handleResponse (JmDNSImpl dns) |
boolean | sameValue (DNSRecord other) |
void | write (MessageOutputStream out) |
Private Attributes | |
final byte[] | _text |
Definition at line 536 of file DNSRecord.java.
javax.jmdns.impl.DNSRecord.Text.Text | ( | String | name, |
DNSRecordClass | recordClass, | ||
boolean | unique, | ||
int | ttl, | ||
byte | text[] | ||
) | [inline] |
Definition at line 540 of file DNSRecord.java.
DNSOutgoing javax.jmdns.impl.DNSRecord.Text.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 600 of file DNSRecord.java.
ServiceEvent javax.jmdns.impl.DNSRecord.Text.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 618 of file DNSRecord.java.
ServiceInfo javax.jmdns.impl.DNSRecord.Text.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 609 of file DNSRecord.java.
byte [] javax.jmdns.impl.DNSRecord.Text.getText | ( | ) | [inline, package] |
Definition at line 548 of file DNSRecord.java.
boolean javax.jmdns.impl.DNSRecord.Text.handleQuery | ( | JmDNSImpl | dns, |
long | expirationTime | ||
) | [inline, package, virtual] |
Handles a query represented by this record.
Implements javax.jmdns.impl.DNSRecord.
Definition at line 583 of file DNSRecord.java.
boolean javax.jmdns.impl.DNSRecord.Text.handleResponse | ( | JmDNSImpl | dns | ) | [inline, package, virtual] |
Handles a response represented by this record.
Implements javax.jmdns.impl.DNSRecord.
Definition at line 590 of file DNSRecord.java.
boolean javax.jmdns.impl.DNSRecord.Text.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 578 of file DNSRecord.java.
boolean javax.jmdns.impl.DNSRecord.Text.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 558 of file DNSRecord.java.
void javax.jmdns.impl.DNSRecord.Text.toString | ( | StringBuilder | aLog | ) | [inline, protected] |
aLog |
Reimplemented from javax.jmdns.impl.DNSRecord.
Definition at line 629 of file DNSRecord.java.
void javax.jmdns.impl.DNSRecord.Text.write | ( | MessageOutputStream | out | ) | [inline, package, virtual] |
Write this record into an outgoing message.
Implements javax.jmdns.impl.DNSRecord.
Definition at line 553 of file DNSRecord.java.
final byte [] javax.jmdns.impl.DNSRecord.Text._text [private] |
Definition at line 538 of file DNSRecord.java.