X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fde%2Ftodesbaum%2Fjsite%2Fapplication%2FFreenet7Interface.java;h=4c9d9c5740e30c3581683011324f807869cc7ae6;hb=6d1b6da5f904f15afc8e4982ae70fcbfea4307d7;hp=7aa2047e8b798627499e0315cf6d8e6a8f283c79;hpb=820a38baf8a21c1ae7cb0949edf9b7fc9c0f3603;p=jSite.git
diff --git a/src/de/todesbaum/jsite/application/Freenet7Interface.java b/src/de/todesbaum/jsite/application/Freenet7Interface.java
index 7aa2047..4c9d9c5 100644
--- a/src/de/todesbaum/jsite/application/Freenet7Interface.java
+++ b/src/de/todesbaum/jsite/application/Freenet7Interface.java
@@ -1,5 +1,5 @@
/*
- * jSite -
+ * jSite -
* Copyright (C) 2006 David Roden
*
* This program is free software; you can redistribute it and/or modify
@@ -29,7 +29,7 @@ import de.todesbaum.util.freenet.fcp2.Node;
/**
* Interface for freenet-related operations.
- *
+ *
* @author David âBombeâ Roden <bombe@freenetproject.org>
*/
public class Freenet7Interface {
@@ -44,9 +44,9 @@ public class Freenet7Interface {
private Connection connection;
/**
- * Sets the hostname of the node. The default port for FCP2 connections ({@link Node#DEFAULT_PORT})
- * is used.
- *
+ * Sets the hostname of the node. The default port for FCP2 connections (
+ * {@link Node#DEFAULT_PORT}) is used.
+ *
* @param hostname
* The hostname of the node
*/
@@ -57,7 +57,7 @@ public class Freenet7Interface {
/**
* Sets the hostname and the port of the node.
- *
+ *
* @param hostname
* The hostname of the node
* @param port
@@ -70,7 +70,7 @@ public class Freenet7Interface {
/**
* Sets hostname and port from the given node.
- *
+ *
* @param node
* The node to get the hostname and port from
*/
@@ -94,7 +94,7 @@ public class Freenet7Interface {
/**
* Returns the node this interface is connecting to.
- *
+ *
* @return The node
*/
public Node getNode() {
@@ -103,7 +103,7 @@ public class Freenet7Interface {
/**
* Creates a new connection to the current node with the given identifier.
- *
+ *
* @param identifier
* The identifier of the connection
* @return The connection to the node
@@ -115,7 +115,7 @@ public class Freenet7Interface {
/**
* Checks whether the current node is connected. If the node is not
* connected, a connection will be tried.
- *
+ *
* @return true
if the node is connected, false
* otherwise
* @throws IOException
@@ -130,7 +130,7 @@ public class Freenet7Interface {
/**
* Generates an SSK key pair.
- *
+ *
* @return An array of strings, the first one being the generated private
* (insert) URI and the second one being the generated public
* (request) URI
@@ -149,7 +149,7 @@ public class Freenet7Interface {
/**
* Checks whether the interface has already been configured with a node.
- *
+ *
* @return true
if this interface already has a node set,
* false
otherwise
*/