public void disconnectFromNode(Node node);
/**
- * Creates a new project with the given name. The returned {@link Project}
- * will contain a newly generated key pair.
+ * Creates a new project. The returned {@link Project} will contain a newly
+ * generated key pair.
*
- * @param projectName
- * The name of the project
- * @return A newly created project, or <code>null</code> if key generation
- * failed
+ * @return A newly created project
* @throws IOException
* if an I/O error occured communicating with the node
+ * @throws JSiteException
+ * if there is a problem with the node
*/
- public Project addProject(String projectName) throws IOException;
+ public Project createProject() throws IOException, JSiteException;
+
+ /**
+ * Returns a list of all projects.
+ *
+ * @return A list of all projects
+ */
+ public List<Project> getProjects();
}