/**
* Interface for the core.
- *
+ *
* @author David ‘Bombe’ Roden <bombe@freenetproject.org>
* @version $Id$
*/
/**
* Adds the given listener to the list of registered listeners.
- *
+ *
* @param coreListener
* The listener to add
*/
/**
* Removes the given listener from the list of registered listeners.
- *
+ *
* @param coreListener
* The listener to remove
*/
public void removeCoreListener(CoreListener coreListener);
/**
+ * Adds the given node to the core.
+ *
+ * @param node
+ * The node to add
+ */
+ public void addNode(Node node);
+
+ /**
+ * Removes the given node from the core.
+ *
+ * @param node
+ * The node to remove
+ */
+ public void removeNode(Node node);
+
+ /**
* Returns the list of all configured nodes.
- *
+ *
* @return All configured nodes
*/
public List<Node> getNodes();
/**
* Returns whether the core is currently connected to the given node.
- *
+ *
* @param node
* The node to check
* @return <code>true</code> if the core is currently connected to the
/**
* Connects to the given node.
- *
+ *
* @param node
* The node to connect to
*/
/**
* Disconnects from the given node.
- *
+ *
* @param node
* The node to disconnect from
*/