X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Ffcp%2FNodeRef.java;h=64ca56ca2aaf65f288636709ea76138892f061bc;hb=a655177a4605236e866ac7e0ce32f7cb5289cbc4;hp=3e7a4cea980fd9e52c64b5b9891071d44cc71082;hpb=64c2c9bd494f3ea9d1ae84f8d86827dea025bee6;p=jFCPlib.git diff --git a/src/net/pterodactylus/fcp/NodeRef.java b/src/net/pterodactylus/fcp/NodeRef.java index 3e7a4ce..64ca56c 100644 --- a/src/net/pterodactylus/fcp/NodeRef.java +++ b/src/net/pterodactylus/fcp/NodeRef.java @@ -1,6 +1,5 @@ /* - * jSite2 - NodeRef.java - - * Copyright © 2008 David Roden + * jFCPlib - NodeRef.java - Copyright © 2008 David Roden * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,7 +21,7 @@ package net.pterodactylus.fcp; /** * A reference for a node. The noderef contains all data that is necessary to * establish a trusted and secure connection to the node. - * + * * @author David ‘Bombe’ Roden <bombe@freenetproject.org> */ public class NodeRef { @@ -76,7 +75,7 @@ public class NodeRef { /** * Creates a new noderef that is initialized with fields from the given * message. - * + * * @param fromMessage * The message to get initial values for the noderef from */ @@ -100,7 +99,7 @@ public class NodeRef { /** * Returns the identity of the node. - * + * * @return The identity of the node */ public String getIdentity() { @@ -109,7 +108,7 @@ public class NodeRef { /** * Sets the identity of the node. - * + * * @param identity * The identity of the node */ @@ -119,7 +118,7 @@ public class NodeRef { /** * Returns whether the node is an opennet peer. - * + * * @return true if the node is an opennet peer, * false otherwise */ @@ -129,7 +128,7 @@ public class NodeRef { /** * Sets whether the node is an opennet peer. - * + * * @param opennet * true if the node is an opennet peer, * false otherwise @@ -141,7 +140,7 @@ public class NodeRef { /** * Returns the name of the node. If the node is an opennet peer, it will not * have a name! - * + * * @return The name of the node, or null if the node is an * opennet peer */ @@ -151,7 +150,7 @@ public class NodeRef { /** * Sets the name of the peer. - * + * * @param name * The name of the peer */ @@ -161,7 +160,7 @@ public class NodeRef { /** * Returns the location of the node. - * + * * @return The location of the node */ public double getLocation() { @@ -170,7 +169,7 @@ public class NodeRef { /** * Sets the location of the node - * + * * @param location * The location of the node */ @@ -180,7 +179,7 @@ public class NodeRef { /** * Returns the IP addresses and port numbers of the node. - * + * * @return The IP addresses and port numbers of the node */ public String getPhysicalUDP() { @@ -189,7 +188,7 @@ public class NodeRef { /** * Sets the IP addresses and port numbers of the node. - * + * * @param physicalUDP * The IP addresses and port numbers of the node */ @@ -199,7 +198,7 @@ public class NodeRef { /** * Returns the ARK of the node. - * + * * @return The ARK of the node */ public ARK getARK() { @@ -208,7 +207,7 @@ public class NodeRef { /** * Sets the ARK of the node. - * + * * @param ark * The ARK of the node */ @@ -218,7 +217,7 @@ public class NodeRef { /** * Returns the public DSA key of the node. - * + * * @return The public DSA key of the node */ public String getDSAPublicKey() { @@ -227,7 +226,7 @@ public class NodeRef { /** * Sets the public DSA key of the node. - * + * * @param dsaPublicKey * The public DSA key of the node */ @@ -237,7 +236,7 @@ public class NodeRef { /** * Returns the DSA group of the node. - * + * * @return The DSA group of the node */ public DSAGroup getDSAGroup() { @@ -246,7 +245,7 @@ public class NodeRef { /** * Sets the DSA group of the node. - * + * * @param dsaGroup * The DSA group of the node */ @@ -256,7 +255,7 @@ public class NodeRef { /** * Returns the negotiation types supported by the node. - * + * * @return The node’s supported negotiation types */ public int[] getNegotiationTypes() { @@ -265,7 +264,7 @@ public class NodeRef { /** * Sets the negotiation types supported by the node. - * + * * @param negotiationTypes * The node’s supported negotiation types */ @@ -275,7 +274,7 @@ public class NodeRef { /** * Returns the version of the node. - * + * * @return The version of the node */ public Version getVersion() { @@ -284,7 +283,7 @@ public class NodeRef { /** * Sets the version of the node. - * + * * @param version * The version of the node */ @@ -294,7 +293,7 @@ public class NodeRef { /** * Returns the last good version of the node. - * + * * @return The oldest version the node will connect to */ public Version getLastGoodVersion() { @@ -303,7 +302,7 @@ public class NodeRef { /** * Sets the last good version of the node. - * + * * @param lastGoodVersion * The oldest version the node will connect to */ @@ -313,7 +312,7 @@ public class NodeRef { /** * Returns whether the node is a testnet node. - * + * * @return true if the node is a testnet node, * false otherwise */ @@ -323,7 +322,7 @@ public class NodeRef { /** * Sets whether this node is a testnet node. - * + * * @param testnet * true if the node is a testnet node, * false otherwise @@ -334,7 +333,7 @@ public class NodeRef { /** * Returns the signature of the noderef. - * + * * @return The signature of the noderef */ public String getSignature() { @@ -343,7 +342,7 @@ public class NodeRef { /** * Sets the signature of the noderef. - * + * * @param signature * The signature of the noderef */