add ListPeerNote command and replies
[jSite2.git] / src / net / pterodactylus / util / fcp / message / ListPeerNotes.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  * A “ListPeerNodes” request tells the node to list all notes that have been
10  * entered for a node. Note that notes are only supported for darknet nodes.
11  * 
12  * @author <a href="mailto:dr@ina-germany.de">David Roden</a>
13  * @version $Id$
14  */
15 public class ListPeerNotes extends FcpMessage {
16
17         /**
18          * Creates a new “ListPeerNotes” request that lists all notes of the
19          * specified node.
20          * 
21          * @param nodeIdentifier
22          *            The identifier of the node
23          */
24         public ListPeerNotes(String nodeIdentifier) {
25                 super("ListPeerNotes");
26                 setField("NodeIdentifier", nodeIdentifier);
27         }
28
29 }