projects
/
jFCPlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add command that removes a peer from the node by name
[jFCPlib.git]
/
src
/
main
/
java
/
net
/
pterodactylus
/
fcp
/
quelaton
/
DefaultFcpClient.java
diff --git
a/src/main/java/net/pterodactylus/fcp/quelaton/DefaultFcpClient.java
b/src/main/java/net/pterodactylus/fcp/quelaton/DefaultFcpClient.java
index
3dd0b76
..
0d180cb
100644
(file)
--- a/
src/main/java/net/pterodactylus/fcp/quelaton/DefaultFcpClient.java
+++ b/
src/main/java/net/pterodactylus/fcp/quelaton/DefaultFcpClient.java
@@
-92,6
+92,11
@@
public class DefaultFcpClient implements FcpClient {
}
@Override
+ public RemovePeerCommand removePeer() {
+ return new RemovePeerCommandImpl(threadPool, this::connect);
+ }
+
+ @Override
public ListPeerNotesCommand listPeerNotes() {
return new ListPeerNotesCommandImpl(threadPool, this::connect);
}