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