2 * © 2008 INA Service GmbH
4 package net.pterodactylus.util.fcp.message;
6 import net.pterodactylus.util.fcp.FcpMessage;
9 * The “ListPeer” request asks the node about the details of a given peer.
11 * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
14 public class ListPeer extends FcpMessage {
17 * Creates a new “ListPeer” request that returns information about the node
18 * specified by <code>nodeIdentifier</code>. <code>nodeIdentifier</code>
19 * can be of several formats: The node’s name, its identity, or its IP
20 * address and port (connection with a ‘:’).
22 * @param nodeIdentifier
23 * The identifier of the node to get details about
25 public ListPeer(String nodeIdentifier) {
27 setField("NodeIdentifier", nodeIdentifier);