Add “with metadata” and “with volatile” flags to ListPeer command
[jFCPlib.git] / src / main / java / net / pterodactylus / fcp / quelaton / ListPeersCommand.java
1 package net.pterodactylus.fcp.quelaton;
2
3 import java.util.Collection;
4 import java.util.concurrent.Future;
5
6 import net.pterodactylus.fcp.Peer;
7
8 /**
9  * Retrieves the list of all peers from the FCP server.
10  *
11  * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
12  */
13 public interface ListPeersCommand {
14
15         ListPeersCommand includeMetadata();
16         ListPeersCommand includeVolatile();
17
18         Future<Collection<Peer>> execute();
19
20 }