mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-27 00:45:23 -04:00
Optimize RefreshTTLMessage, add UIClock
This commit is contained in:
parent
f5a61f9924
commit
79de2bcb11
18 changed files with 241 additions and 224 deletions
17
common/src/main/java/io/bitsquare/common/Clock.java
Normal file
17
common/src/main/java/io/bitsquare/common/Clock.java
Normal file
|
@ -0,0 +1,17 @@
|
|||
package io.bitsquare.common;
|
||||
|
||||
public interface Clock {
|
||||
void start();
|
||||
|
||||
void stop();
|
||||
|
||||
void addListener(Listener listener);
|
||||
|
||||
void removeListener(Listener listener);
|
||||
|
||||
interface Listener {
|
||||
void onSecondTick();
|
||||
|
||||
void onMinuteTick();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue