RunnableServiceInfoResolver, ServiceResolver, TypeResolverpublic abstract class DNSResolverTask extends DNSTask
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
_count |
Counts the number of queries being sent.
|
| Constructor | Description |
|---|---|
DNSResolverTask(JmDNSImpl jmDNSImpl) |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract DNSOutgoing |
addAnswers(DNSOutgoing out) |
Overridden by subclasses to add questions to the message.
Note: Because of message size limitation the returned message may be different than the message parameter. |
protected abstract DNSOutgoing |
addQuestions(DNSOutgoing out) |
Overridden by subclasses to add questions to the message.
Note: Because of message size limitation the returned message may be different than the message parameter. |
protected abstract String |
description() |
Returns a description of the resolver for debugging
|
void |
run() |
|
void |
start(Timer timer) |
Start this task.
|
String |
toString() |
addAdditionalAnswer, addAnswer, addAnswer, addAuthoritativeAnswer, addQuestion, getDns, getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcancel, scheduledExecutionTimepublic DNSResolverTask(JmDNSImpl jmDNSImpl)
jmDNSImpl - protected abstract DNSOutgoing addQuestions(DNSOutgoing out) throws IOException
out - outgoing messageIOExceptionprotected abstract DNSOutgoing addAnswers(DNSOutgoing out) throws IOException
out - outgoing messageIOExceptionprotected abstract String description()
Copyright © 2002–2018 JmDNS. All rights reserved.