public class Renewer extends DNSStateTask
Modifier and Type | Method and Description |
---|---|
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, setTaskState
addAdditionalAnswer, addAnswer, addAnswer, addAuthoritativeAnswer, addQuestion, getDns
public Renewer(JmDNSImpl jmDNSImpl)
public java.lang.String getName()
DNSTask
public void start(java.util.Timer timer)
DNSTask
public boolean cancel()
cancel
in class java.util.TimerTask
public java.lang.String getTaskDescription()
getTaskDescription
in class DNSStateTask
protected boolean checkRunCondition()
checkRunCondition
in class DNSStateTask
protected DNSOutgoing createOugoing()
createOugoing
in class DNSStateTask
protected DNSOutgoing buildOutgoingForDNS(DNSOutgoing out) throws java.io.IOException
buildOutgoingForDNS
in class DNSStateTask
java.io.IOException
protected DNSOutgoing buildOutgoingForInfo(ServiceInfoImpl info, DNSOutgoing out) throws java.io.IOException
buildOutgoingForInfo
in class DNSStateTask
java.io.IOException
protected void recoverTask(java.lang.Throwable e)
recoverTask
in class DNSStateTask
protected void advanceTask()
advanceTask
in class DNSStateTask