Add method to modify peer by node identity
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / ClientGetCommand.java
index 60a46d0..01f88e9 100644 (file)
@@ -2,7 +2,6 @@ package net.pterodactylus.fcp.quelaton;
 
 import java.io.InputStream;
 import java.util.Optional;
-import java.util.concurrent.Future;
 
 import net.pterodactylus.fcp.Priority;
 
@@ -13,7 +12,6 @@ import net.pterodactylus.fcp.Priority;
  */
 public interface ClientGetCommand {
 
-       ClientGetCommand identifier(String identifier);
        ClientGetCommand ignoreDataStore();
        ClientGetCommand dataStoreOnly();
        ClientGetCommand maxSize(long maxSize);
@@ -21,7 +19,7 @@ public interface ClientGetCommand {
        ClientGetCommand realTime();
        ClientGetCommand global();
 
-       Future<Optional<Data>> uri(String uri);
+       Executable<Optional<Data>> uri(String uri);
 
        interface Data {