Public Member Functions | |
ServiceEvent | getServiceEvent (JmDNSImpl dns) |
ServiceInfo | getServiceInfo (boolean persistent) |
HostInformation (String name, DNSRecordClass recordClass, boolean unique, int ttl, String cpu, String os) | |
boolean | isSingleValued () |
Protected Member Functions | |
void | toString (StringBuilder aLog) |
Package Functions | |
DNSOutgoing | addAnswer (JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException |
boolean | handleQuery (JmDNSImpl dns, long expirationTime) |
boolean | handleResponse (JmDNSImpl dns) |
boolean | sameValue (DNSRecord other) |
void | write (MessageOutputStream out) |
Package Attributes | |
String | _cpu |
String | _os |
Definition at line 848 of file DNSRecord.java.
javax.jmdns.impl.DNSRecord.HostInformation.HostInformation | ( | String | name, |
DNSRecordClass | recordClass, | ||
boolean | unique, | ||
int | ttl, | ||
String | cpu, | ||
String | os | ||
) | [inline] |
name | |
recordClass | |
unique | |
ttl | |
cpu | |
os |
Definition at line 860 of file DNSRecord.java.
DNSOutgoing javax.jmdns.impl.DNSRecord.HostInformation.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 871 of file DNSRecord.java.
ServiceEvent javax.jmdns.impl.DNSRecord.HostInformation.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 948 of file DNSRecord.java.
ServiceInfo javax.jmdns.impl.DNSRecord.HostInformation.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 936 of file DNSRecord.java.
boolean javax.jmdns.impl.DNSRecord.HostInformation.handleQuery | ( | JmDNSImpl | dns, |
long | expirationTime | ||
) | [inline, package, virtual] |
Handles a query represented by this record.
Implements javax.jmdns.impl.DNSRecord.
Definition at line 880 of file DNSRecord.java.
boolean javax.jmdns.impl.DNSRecord.HostInformation.handleResponse | ( | JmDNSImpl | dns | ) | [inline, package, virtual] |
Handles a response represented by this record.
Implements javax.jmdns.impl.DNSRecord.
Definition at line 889 of file DNSRecord.java.
boolean javax.jmdns.impl.DNSRecord.HostInformation.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 917 of file DNSRecord.java.
boolean javax.jmdns.impl.DNSRecord.HostInformation.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 898 of file DNSRecord.java.
void javax.jmdns.impl.DNSRecord.HostInformation.toString | ( | StringBuilder | aLog | ) | [inline, protected] |
aLog |
Reimplemented from javax.jmdns.impl.DNSRecord.
Definition at line 959 of file DNSRecord.java.
void javax.jmdns.impl.DNSRecord.HostInformation.write | ( | MessageOutputStream | out | ) | [inline, package, virtual] |
Write this record into an outgoing message.
Implements javax.jmdns.impl.DNSRecord.
Definition at line 926 of file DNSRecord.java.
String javax.jmdns.impl.DNSRecord.HostInformation._cpu [package] |
Definition at line 850 of file DNSRecord.java.
String javax.jmdns.impl.DNSRecord.HostInformation._os [package] |
Definition at line 849 of file DNSRecord.java.