1 package net.pterodactylus.fcp.quelaton;
3 import java.util.concurrent.ExecutionException;
6 * USK subscription object that is returned to the client application.
8 * @author <a href="mailto:bombe@freenetproject.org">David ‘Bombe’ Roden</a>
10 public interface UskSubscription {
13 void onUpdate(UskUpdater uskUpdater);
14 void cancel() throws ExecutionException, InterruptedException;
16 interface UskUpdater {
18 void uskUpdated(int edition);