first version of request table
[jSite2.git] / src / net / pterodactylus / jsite / core / NodeManager.java
index c676289..1e61980 100644 (file)
@@ -409,6 +409,18 @@ public class NodeManager implements Iterable<Node>, PropertyChangeListener, High
                return nodeClients.get(node);
        }
 
+       /**
+        * Returns the node for a high-level client.
+        * 
+        * @param highLevelClient
+        *            The high-level client to get the node for
+        * @return The node for the high-level client, or <code>null</code> if the
+        *         high-level client is not known
+        */
+       public Node getNode(HighLevelClient highLevelClient) {
+               return clientNodes.get(highLevelClient);
+       }
+
        //
        // PRIVATE METHODS
        //