Add method to allow local addresses for a peer
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / ModifyPeerCommand.java
index 7037e3b..6987d9a 100644 (file)
@@ -13,8 +13,10 @@ public interface ModifyPeerCommand {
 
        ModifyPeerCommand enable();
        ModifyPeerCommand disable();
+       ModifyPeerCommand allowLocalAddresses();
 
        Executable<Optional<Peer>> byName(String name);
        Executable<Optional<Peer>> byIdentity(String nodeIdentity);
+       Executable<Optional<Peer>> byHostAndPort(String host, int port);
 
 }