From: David ‘Bombe’ Roden Date: Sat, 23 May 2009 14:26:34 +0000 (+0200) Subject: Expose FCP clients. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=7a1daeb0120df0901d1051c25973ae78aa0870f3;p=jSite2.git Expose FCP clients. --- diff --git a/src/net/pterodactylus/jsite/core/NodeManager.java b/src/net/pterodactylus/jsite/core/NodeManager.java index f7b231d..dd8440a 100644 --- a/src/net/pterodactylus/jsite/core/NodeManager.java +++ b/src/net/pterodactylus/jsite/core/NodeManager.java @@ -379,6 +379,18 @@ public class NodeManager implements Iterable, 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 0 and the