2 * © 2008 INA Service GmbH
4 package net.pterodactylus.util.fcp.message;
6 import net.pterodactylus.util.fcp.FcpMessage;
9 * The “ListPeer” requests asks the node for a list of all peers it has.
11 * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
14 public class ListPeers extends FcpMessage {
17 * Creates a new “ListPeers” request that only includes basic data of the
25 * Creates a new “ListPeers” request that includes wanted data of the peers.
28 * If <code>true</code> metadata of the peers is included in
31 * if <code>true</code> volatile data of the peers is included
34 public ListPeers(boolean withMetadata, boolean withVolatile) {
36 setField("WithMetadata", String.valueOf(withMetadata));
37 setField("WithVolatile", String.valueOf(withVolatile));