Package org.yamcs.cfdp
Class Timer
- java.lang.Object
-
- org.yamcs.cfdp.Timer
-
public class Timer extends Object
Implements a timer used by CFDP for verifying the sending of EOF, FIN and NAK PDUsThis class works with one thrad executor and expects all methods to be called on the executor thread.
-
-
Constructor Summary
Constructors Constructor Description Timer(ScheduledThreadPoolExecutor executor, int maxNumAttempts, long timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()voidstart(Runnable onIntermediate, Runnable onFinal)
-
-
-
Constructor Detail
-
Timer
public Timer(ScheduledThreadPoolExecutor executor, int maxNumAttempts, long timeout)
-
-