protected abstract class Retransmitter.Task extends java.lang.Object implements TimeScheduler.Task
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
cancelled |
protected Retransmitter.RetransmitCommand |
command |
protected java.util.concurrent.Future |
future |
protected Interval |
intervals |
protected Address |
msg_sender |
限定符 | 构造器和说明 |
---|---|
protected |
Retransmitter.Task(Interval intervals,
Retransmitter.RetransmitCommand cmd,
Address msg_sender) |
限定符和类型 | 方法和说明 |
---|---|
protected abstract void |
callRetransmissionCommand() |
void |
cancel() |
void |
doSchedule() |
long |
nextInterval() |
void |
run() |
protected final Interval intervals
protected volatile java.util.concurrent.Future future
protected Address msg_sender
protected Retransmitter.RetransmitCommand command
protected volatile boolean cancelled
protected Retransmitter.Task(Interval intervals, Retransmitter.RetransmitCommand cmd, Address msg_sender)
public long nextInterval()
nextInterval
在接口中 TimeScheduler.Task
public void doSchedule()
public void cancel()
public void run()
run
在接口中 java.lang.Runnable
protected abstract void callRetransmissionCommand()