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