add identifier to all requests
[jFCPlib.git] / src / net / pterodactylus / fcp / highlevel / PeerListResult.java
index e69be56..456e01e 100644 (file)
@@ -37,12 +37,22 @@ public class PeerListResult extends HighLevelResult implements Iterable<Peer> {
        private final List<Peer> peers = new ArrayList<Peer>();
 
        /**
+        * Package-private constructor.
+        * 
+        * @param identifier
+        *            The identifier of the request
+        */
+       PeerListResult(String identifier) {
+               super(identifier);
+       }
+
+       /**
         * Adds a peer to the list.
         * 
         * @param peer
         *            The peer to add
         */
-       public void addPeer(Peer peer) {
+       void addPeer(Peer peer) {
                peers.add(peer);
        }