X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Ffcp%2Fquelaton%2FClientGetCommand.java;h=7c5bf8dc6599b49ebbed6b5d22ef7737005d6565;hb=e3f3a4323df8d53a0a59c2e4369abbcd8d60b940;hp=60a46d0539573fd42ccaefd94984d0d7145a0c7c;hpb=b1cb058f5ab875ad39b1d8d506cb6019d28118b7;p=jFCPlib.git diff --git a/src/main/java/net/pterodactylus/fcp/quelaton/ClientGetCommand.java b/src/main/java/net/pterodactylus/fcp/quelaton/ClientGetCommand.java index 60a46d0..7c5bf8d 100644 --- a/src/main/java/net/pterodactylus/fcp/quelaton/ClientGetCommand.java +++ b/src/main/java/net/pterodactylus/fcp/quelaton/ClientGetCommand.java @@ -2,10 +2,11 @@ package net.pterodactylus.fcp.quelaton; import java.io.InputStream; import java.util.Optional; -import java.util.concurrent.Future; import net.pterodactylus.fcp.Priority; +import com.google.common.util.concurrent.ListenableFuture; + /** * Command that retrieves data from Freenet. * @@ -13,7 +14,6 @@ import net.pterodactylus.fcp.Priority; */ public interface ClientGetCommand { - ClientGetCommand identifier(String identifier); ClientGetCommand ignoreDataStore(); ClientGetCommand dataStoreOnly(); ClientGetCommand maxSize(long maxSize); @@ -21,7 +21,7 @@ public interface ClientGetCommand { ClientGetCommand realTime(); ClientGetCommand global(); - Future> uri(String uri); + Executable> uri(String uri); interface Data {