implement node addition and removal events
[jSite2.git] / src / net / pterodactylus / util / fcp / ListPeer.java
1 /**
2  * © 2008 INA Service GmbH
3  */
4 package net.pterodactylus.util.fcp;
5
6
7 /**
8  * The “ListPeer” request asks the node about the details of a given peer.
9  * 
10  * @author David ‘Bombe’ Roden <bombe@freenetproject.org>
11  * @version $Id$
12  */
13 public class ListPeer extends FcpMessage {
14
15         /**
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 ‘:’).
20          * 
21          * @param nodeIdentifier
22          *            The identifier of the node to get details about
23          */
24         public ListPeer(String nodeIdentifier) {
25                 super("ListPeer");
26                 setField("NodeIdentifier", nodeIdentifier);
27         }
28
29 }