Add method to remove a peer by host name and port number
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / RemovePeerCommand.java
1 package net.pterodactylus.fcp.quelaton;
2
3 /**
4  * Command that removes a peer from the node.
5  *
6  * @author <a href="mailto:bombe@freenetproject.org">David ‘Bombe’ Roden</a>
7  */
8 public interface RemovePeerCommand {
9
10         Executable<Boolean> byName(String name);
11         Executable<Boolean> byIdentity(String nodeIdentity);
12         Executable<Boolean> byHostAndPort(String host, int port);
13
14 }