protected abstract class Retransmitter.Task extends java.lang.Object implements TimeScheduler.Task
Modifier and Type | Field and Description |
---|---|
protected boolean |
cancelled |
protected Retransmitter.RetransmitCommand |
command |
protected java.util.concurrent.Future |
future |
protected Interval |
intervals |
protected Address |
msg_sender |
Modifier | Constructor and Description |
---|---|
protected |
Task(Interval intervals,
Retransmitter.RetransmitCommand cmd,
Address msg_sender) |
Modifier and Type | Method and Description |
---|---|
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 Task(Interval intervals, Retransmitter.RetransmitCommand cmd, Address msg_sender)
public long nextInterval()
nextInterval
in interface TimeScheduler.Task
public void doSchedule()
public void cancel()
public void run()
run
in interface java.lang.Runnable
protected abstract void callRetransmissionCommand()
Copyright © 1998-2020 Red Hat. All Rights Reserved.