Implement notification on USK update
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / UskSubscription.java
1 package net.pterodactylus.fcp.quelaton;
2
3 /**
4  * USK subscription object that is returned to the client application.
5  *
6  * @author <a href="mailto:bombe@freenetproject.org">David ‘Bombe’ Roden</a>
7  */
8 public interface UskSubscription {
9
10         String getUri();
11         void onUpdate(UskUpdater uskUpdater);
12
13         interface UskUpdater {
14
15                 void uskUpdated(int edition);
16
17         }
18
19 }