add ListPeerNote command and replies
[jSite2.git] / src / net / pterodactylus / util / fcp / message / ListPeer.java
1 /**
2  * © 2008 INA Service GmbH
3  */
4 package net.pterodactylus.util.fcp.message;
5
6 import net.pterodactylus.util.fcp.FcpMessage;
7
8 /**
9  * The “ListPeer” request asks the node about the details of a given peer.
10  * 
11  * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
12  * @version $Id$
13  */
14 public class ListPeer extends FcpMessage {
15
16         /**
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 ‘:’).
21          * 
22          * @param nodeIdentifier
23          *            The identifier of the node to get details about
24          */
25         public ListPeer(String nodeIdentifier) {
26                 super("ListPeer");
27                 setField("NodeIdentifier", nodeIdentifier);
28         }
29
30 }