Public Member Functions | |
DNSOutgoing | addAdditionalAnswer (DNSOutgoing out, DNSIncoming in, DNSRecord rec) throws IOException |
DNSOutgoing | addAnswer (DNSOutgoing out, DNSIncoming in, DNSRecord rec) throws IOException |
DNSOutgoing | addAnswer (DNSOutgoing out, DNSRecord rec, long now) throws IOException |
DNSOutgoing | addAuthoritativeAnswer (DNSOutgoing out, DNSRecord rec) throws IOException |
DNSOutgoing | addQuestion (DNSOutgoing out, DNSQuestion rec) throws IOException |
JmDNSImpl | getDns () |
abstract String | getName () |
abstract void | start (Timer timer) |
String | toString () |
Protected Member Functions | |
DNSTask (JmDNSImpl jmDNSImpl) | |
Private Attributes | |
final JmDNSImpl | _jmDNSImpl |
This is the root class for all task scheduled by the timer in JmDNS.
Definition at line 20 of file DNSTask.java.
javax.jmdns.impl.tasks.DNSTask.DNSTask | ( | JmDNSImpl | jmDNSImpl | ) | [inline, protected] |
jmDNSImpl |
Definition at line 30 of file DNSTask.java.
DNSOutgoing javax.jmdns.impl.tasks.DNSTask.addAdditionalAnswer | ( | DNSOutgoing | out, |
DNSIncoming | in, | ||
DNSRecord | rec | ||
) | throws IOException [inline] |
Add an additional answer to the record. Omit if there is no room.
out | outgoing message |
in | incoming request |
rec | DNS record answer |
IOException |
Definition at line 203 of file DNSTask.java.
DNSOutgoing javax.jmdns.impl.tasks.DNSTask.addAnswer | ( | DNSOutgoing | out, |
DNSIncoming | in, | ||
DNSRecord | rec | ||
) | throws IOException [inline] |
Add an answer if it is not suppressed.
out | outgoing message |
in | incoming request |
rec | DNS record answer |
IOException |
Definition at line 110 of file DNSTask.java.
DNSOutgoing javax.jmdns.impl.tasks.DNSTask.addAnswer | ( | DNSOutgoing | out, |
DNSRecord | rec, | ||
long | now | ||
) | throws IOException [inline] |
Add an answer to the message.
out | outgoing message |
rec | DNS record answer |
now |
IOException |
Definition at line 141 of file DNSTask.java.
DNSOutgoing javax.jmdns.impl.tasks.DNSTask.addAuthoritativeAnswer | ( | DNSOutgoing | out, |
DNSRecord | rec | ||
) | throws IOException [inline] |
Add an authoritative answer to the message.
out | outgoing message |
rec | DNS record answer |
IOException |
Definition at line 171 of file DNSTask.java.
DNSOutgoing javax.jmdns.impl.tasks.DNSTask.addQuestion | ( | DNSOutgoing | out, |
DNSQuestion | rec | ||
) | throws IOException [inline] |
Add a question to the message.
out | outgoing message |
rec | DNS question |
IOException |
Definition at line 78 of file DNSTask.java.
JmDNSImpl javax.jmdns.impl.tasks.DNSTask.getDns | ( | ) | [inline] |
Return the DNS associated with this task.
Definition at line 40 of file DNSTask.java.
abstract String javax.jmdns.impl.tasks.DNSTask.getName | ( | ) | [pure virtual] |
Return this task name.
Implemented in javax.jmdns.impl.tasks.Responder, javax.jmdns.impl.tasks.state.Prober, javax.jmdns.impl.tasks.resolver.TypeResolver, javax.jmdns.impl.tasks.state.Announcer, javax.jmdns.impl.tasks.resolver.ServiceInfoResolver, javax.jmdns.impl.tasks.resolver.ServiceResolver, javax.jmdns.impl.tasks.state.Canceler, javax.jmdns.impl.tasks.state.Renewer, and javax.jmdns.impl.tasks.RecordReaper.
abstract void javax.jmdns.impl.tasks.DNSTask.start | ( | Timer | timer | ) | [pure virtual] |
Start this task.
timer | task timer. |
Implemented in javax.jmdns.impl.tasks.Responder, javax.jmdns.impl.tasks.state.Prober, javax.jmdns.impl.tasks.state.Announcer, javax.jmdns.impl.tasks.state.Canceler, javax.jmdns.impl.tasks.state.Renewer, javax.jmdns.impl.tasks.resolver.DNSResolverTask, and javax.jmdns.impl.tasks.RecordReaper.
String javax.jmdns.impl.tasks.DNSTask.toString | ( | ) | [inline] |
Reimplemented in javax.jmdns.impl.tasks.Responder, javax.jmdns.impl.tasks.state.Prober, javax.jmdns.impl.tasks.state.Announcer, javax.jmdns.impl.tasks.state.Canceler, javax.jmdns.impl.tasks.state.Renewer, and javax.jmdns.impl.tasks.resolver.DNSResolverTask.
Definition at line 64 of file DNSTask.java.
final JmDNSImpl javax.jmdns.impl.tasks.DNSTask._jmDNSImpl [private] |
Definition at line 25 of file DNSTask.java.