/** The configuration. */
private Configuration configuration;
+ /** Interface to freenet. */
+ private FreenetInterface freenetInterface;
+
/** The local Sones. */
private final Set<Sone> localSones = new HashSet<Sone>();
return this;
}
+ /**
+ * Sets the Freenet interface to use.
+ *
+ * @param freenetInterface
+ * The Freenet interface to use
+ * @return This core (for method chaining)
+ */
+ public Core freenetInterface(FreenetInterface freenetInterface) {
+ this.freenetInterface = freenetInterface;
+ return this;
+ }
+
//
// ACTIONS
//