Add method to ignore source for a peer
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / ModifyPeerCommand.java
index a608fc2..104401f 100644 (file)
@@ -12,6 +12,17 @@ import net.pterodactylus.fcp.Peer;
 public interface ModifyPeerCommand {
 
        ModifyPeerCommand enable();
+       ModifyPeerCommand disable();
+       ModifyPeerCommand allowLocalAddresses();
+       ModifyPeerCommand disallowLocalAddresses();
+       ModifyPeerCommand setBurstOnly();
+       ModifyPeerCommand clearBurstOnly();
+       ModifyPeerCommand setListenOnly();
+       ModifyPeerCommand clearListenOnly();
+       ModifyPeerCommand ignoreSource();
+
        Executable<Optional<Peer>> byName(String name);
+       Executable<Optional<Peer>> byIdentity(String nodeIdentity);
+       Executable<Optional<Peer>> byHostAndPort(String host, int port);
 
 }