Expose FCP clients.
[jSite2.git] / src / net / pterodactylus / jsite / core / NodeManager.java
index f7b231d..dd8440a 100644 (file)
@@ -379,6 +379,18 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener {
        }
 
        /**
+        * Returns the FCP client for the given node.
+        *
+        * @param node
+        *            The node to get the FCP client for
+        * @return The FCP client for the given node, or {@code null} if the node
+        *         does not have an associated FCP client
+        */
+       FcpClient getFcpClient(Node node) {
+               return nodeClients.get(node);
+       }
+
+       /**
         * Generates a new SSK key pair.
         *
         * @return An array with the private key at index <code>0</code> and the