public class Prober extends DNSStateTask
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
advanceTask() |
protected DNSOutgoing |
buildOutgoingForDNS(DNSOutgoing out) |
protected DNSOutgoing |
buildOutgoingForInfo(ServiceInfoImpl info,
DNSOutgoing out) |
boolean |
cancel() |
protected boolean |
checkRunCondition() |
protected DNSOutgoing |
createOugoing() |
java.lang.String |
getName()
Return this task name.
|
java.lang.String |
getTaskDescription() |
protected void |
recoverTask(java.lang.Throwable e) |
void |
start(java.util.Timer timer)
Start this task.
|
java.lang.String |
toString() |
advanceObjectsState, associate, defaultTTL, getTaskState, getTTL, removeAssociation, run, setDefaultTTL, setTaskStateaddAdditionalAnswer, addAnswer, addAnswer, addAuthoritativeAnswer, addQuestion, getDnspublic Prober(JmDNSImpl jmDNSImpl)
public java.lang.String getName()
DNSTaskpublic void start(java.util.Timer timer)
DNSTaskpublic boolean cancel()
cancel 在类中 java.util.TimerTaskpublic java.lang.String getTaskDescription()
getTaskDescription 在类中 DNSStateTaskprotected boolean checkRunCondition()
checkRunCondition 在类中 DNSStateTaskprotected DNSOutgoing createOugoing()
createOugoing 在类中 DNSStateTaskprotected DNSOutgoing buildOutgoingForDNS(DNSOutgoing out) throws java.io.IOException
buildOutgoingForDNS 在类中 DNSStateTaskjava.io.IOExceptionprotected DNSOutgoing buildOutgoingForInfo(ServiceInfoImpl info, DNSOutgoing out) throws java.io.IOException
buildOutgoingForInfo 在类中 DNSStateTaskjava.io.IOExceptionprotected void recoverTask(java.lang.Throwable e)
recoverTask 在类中 DNSStateTaskprotected void advanceTask()
advanceTask 在类中 DNSStateTask